summaryrefslogtreecommitdiff
path: root/libraries/ftplib/ftplib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ftplib/ftplib.SlackBuild')
-rw-r--r--libraries/ftplib/ftplib.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/ftplib/ftplib.SlackBuild b/libraries/ftplib/ftplib.SlackBuild
index ae21706b49..56648754db 100644
--- a/libraries/ftplib/ftplib.SlackBuild
+++ b/libraries/ftplib/ftplib.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ftplib
-# Copyright 2015 Philip Lacroix <philnx at posteo dot de>
+# Copyright 2015 Philip Lacroix <slackph at posteo dot de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -74,7 +74,8 @@ CFLAGS="$SLKCFLAGS"
cd src
make
-# The makefile has no customizable DESTDIR, so we'll modify it accordingly.
+# We'll edit the destination paths manually (since no config script or
+# DESTDIR variable are available).
sed -i -e "s~/usr/local/bin~"$PKG"/usr/bin~" Makefile
sed -i -e "s~/usr/local/lib~"$PKG"/usr/lib"${LIBDIRSUFFIX}"~" Makefile
sed -i -e "s~/usr/local/include~"$PKG"/usr/include~" Makefile