svn commit: r378375 - in head/net/poptop: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Feb 3 21:08:24 UTC 2015


Author: amdmi3
Date: Tue Feb  3 21:08:22 2015
New Revision: 378375
URL: https://svnweb.freebsd.org/changeset/ports/378375
QAT: https://qat.redports.org/buildarchive/r378375/

Log:
  - Fix install from non-root
  - Strip library

Modified:
  head/net/poptop/Makefile
  head/net/poptop/files/patch-plugins_Makefile

Modified: head/net/poptop/Makefile
==============================================================================
--- head/net/poptop/Makefile	Tue Feb  3 20:36:32 2015	(r378374)
+++ head/net/poptop/Makefile	Tue Feb  3 21:08:22 2015	(r378375)
@@ -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>

Modified: head/net/poptop/files/patch-plugins_Makefile
==============================================================================
--- head/net/poptop/files/patch-plugins_Makefile	Tue Feb  3 20:36:32 2015	(r378374)
+++ head/net/poptop/files/patch-plugins_Makefile	Tue Feb  3 21:08:22 2015	(r378375)
@@ -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


More information about the svn-ports-all mailing list