Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 2015 21:08:23 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r378375 - in head/net/poptop: . files
Message-ID:  <201502032108.t13L8NmP074421@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502032108.t13L8NmP074421>