svn commit: r366152 - head/ports-mgmt/pkg-devel

Baptiste Daroussin bapt at FreeBSD.org
Mon Aug 25 21:03:08 UTC 2014


Author: bapt
Date: Mon Aug 25 21:03:08 2014
New Revision: 366152
URL: http://svnweb.freebsd.org/changeset/ports/366152
QAT: https://qat.redports.org/buildarchive/r366152/

Log:
  Do not strip binaries at all this port is a developement ports and should remain with symbols
  While here remove remnant code from the pkg pre 1.3 build system.

Modified:
  head/ports-mgmt/pkg-devel/Makefile

Modified: head/ports-mgmt/pkg-devel/Makefile
==============================================================================
--- head/ports-mgmt/pkg-devel/Makefile	Mon Aug 25 20:58:30 2014	(r366151)
+++ head/ports-mgmt/pkg-devel/Makefile	Mon Aug 25 21:03:08 2014	(r366152)
@@ -23,6 +23,7 @@ USE_LDCONFIG=	yes
 USES=		libtool tar:xz
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-maintainer-mode
+INSTALL_TARGET=	install-strip
 
 # Use a submake as 'deinstall install' needs to reevaluate PKG_CMD
 # so that pkg-static is used from the wrkdir
@@ -34,10 +35,6 @@ EXTRA_PATCHES=	${FILESDIR}/extra-patch-d
 
 .include <bsd.port.pre.mk>
 
-.if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG)
-MAKE_ARGS+=	DEBUG_FLAGS="${DEBUG_FLAGS}"
-.endif
-
 .if defined(WITH_PKGNG)
 .if ${WITH_PKGNG} != devel
 NO_LATEST_LINK=	yes
@@ -94,6 +91,5 @@ PKG_BIN=	${WRKSRC}/src/pkg-static
 post-install:
 	@${MV} ${STAGEDIR}${PREFIX}/lib/libpkg_static.a \
 		${STAGEDIR}${PREFIX}/lib/libpkg.a
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpkg.so.3
 
 .include <bsd.port.post.mk>


More information about the svn-ports-all mailing list