aboutsummaryrefslogtreecommitdiff
path: root/net/poptop
diff options
context:
space:
mode:
Diffstat (limited to 'net/poptop')
-rw-r--r--net/poptop/Makefile1
-rw-r--r--net/poptop/files/patch-plugins_Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/net/poptop/Makefile b/net/poptop/Makefile
index bff2e7e2c228..226be5a1dc2f 100644
--- a/net/poptop/Makefile
+++ b/net/poptop/Makefile
@@ -43,5 +43,6 @@ post-patch:
post-install:
(cd ${WRKSRC}/samples && ${INSTALL_DATA} pptpd.conf \
${STAGEDIR}${PREFIX}/etc/pptpd.conf.sample)
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pptpd/pptpd-logwtmp.so
.include <bsd.port.mk>
diff --git a/net/poptop/files/patch-plugins_Makefile b/net/poptop/files/patch-plugins_Makefile
index ec179b7ef09c..29b839fc31fa 100644
--- a/net/poptop/files/patch-plugins_Makefile
+++ b/net/poptop/files/patch-plugins_Makefile
@@ -11,7 +11,7 @@
LDADD = -lutil
-INSTALL = install -o root
-prefix = /usr/local
-+INSTALL ?= install -o root
++INSTALL ?= install
+prefix = $(PREFIX)
PLUGINS = pptpd-logwtmp.so