svn commit: r367420 - in head/devel/libgetline: . files

Antoine Brodin antoine at FreeBSD.org
Sat Sep 6 13:02:53 UTC 2014


Author: antoine
Date: Sat Sep  6 13:02:52 2014
New Revision: 367420
URL: http://svnweb.freebsd.org/changeset/ports/367420
QAT: https://qat.redports.org/buildarchive/r367420/

Log:
  Allow staging as a regular user

Modified:
  head/devel/libgetline/Makefile
  head/devel/libgetline/files/patch-Makefile

Modified: head/devel/libgetline/Makefile
==============================================================================
--- head/devel/libgetline/Makefile	Sat Sep  6 13:01:59 2014	(r367419)
+++ head/devel/libgetline/Makefile	Sat Sep  6 13:02:52 2014	(r367420)
@@ -25,7 +25,4 @@ MAKE_ENV+=	INST_INCDIR="${STAGEDIR}${PRE
 MAKE_ENV+=	INST_LIBDIR="${STAGEDIR}${PREFIX}/lib"
 MAKE_ENV+=	INST_MANDIR="${STAGEDIR}${PREFIX}/man"
 
-post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgetline.so
-
 .include <bsd.port.mk>

Modified: head/devel/libgetline/files/patch-Makefile
==============================================================================
--- head/devel/libgetline/files/patch-Makefile	Sat Sep  6 13:01:59 2014	(r367419)
+++ head/devel/libgetline/files/patch-Makefile	Sat Sep  6 13:02:52 2014	(r367420)
@@ -72,11 +72,11 @@
 -	cp getline.3 $(INST_MANDIR)/man3
 -        
 +	[ -d $(INST_LIBDIR) ] || $(INSTALL) -d $(INST_LIBDIR)
-+	$(INSTALL) -c -g bin -o bin -m 644 libgetline.a libgetline.so.1 \
-+		$(INST_LIBDIR)
++	$(BSD_INSTALL_DATA) libgetline.a $(INST_LIBDIR)
++	$(BSD_INSTALL_LIB) libgetline.so.1 $(INST_LIBDIR)
 +	$(LN) -fs libgetline.so.$(SHLIB_VERSION) \
 +		 $(INST_LIBDIR)/libgetline.so
 +	[ -d $(INST_MANDIR)/man3 ] || $(INSTALL) -d $(INST_MANDIR)/man3
-+	$(INSTALL) -c -g bin -o bin -m 644 getline.3 $(INST_MANDIR)/man3
++	$(BSD_INSTALL_MAN) getline.3 $(INST_MANDIR)/man3
 +	[ -d $(INST_INCDIR) ] || $(INSTALL) -d $(INST_INCDIR)
-+	$(INSTALL) -c -g bin -o bin -m 644 getline.h $(INST_INCDIR)
++	$(BSD_INSTALL_DATA) getline.h $(INST_INCDIR)


More information about the svn-ports-head mailing list