summaryrefslogtreecommitdiffstats
path: root/extra/pptp/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pptp/Pkgfile')
-rw-r--r--extra/pptp/Pkgfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/pptp/Pkgfile b/extra/pptp/Pkgfile
index 5c77f3041..5a98065f5 100644
--- a/extra/pptp/Pkgfile
+++ b/extra/pptp/Pkgfile
@@ -11,7 +11,7 @@ source=(http://downloads.sourceforge.net/sourceforge/pptpclient/$name-$version.t
build() {
cd $name-$version
- sed -i 's|/usr||' Makefile
+ sed -i 's|BINDIR=$(DESTDIR)/usr|BINDIR=$(DESTDIR)|' Makefile
sed -i 's|/bin/ip|/sbin/ip|g' routing.c
make
make DESTDIR=$PKG install