svn commit: r379976 - head/sysutils/xfsprogs

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Feb 26 01:26:50 UTC 2015


Author: amdmi3
Date: Thu Feb 26 01:26:49 2015
New Revision: 379976
URL: https://svnweb.freebsd.org/changeset/ports/379976
QAT: https://qat.redports.org/buildarchive/r379976/

Log:
  - Strip binaries

Modified:
  head/sysutils/xfsprogs/Makefile

Modified: head/sysutils/xfsprogs/Makefile
==============================================================================
--- head/sysutils/xfsprogs/Makefile	Thu Feb 26 01:26:34 2015	(r379975)
+++ head/sysutils/xfsprogs/Makefile	Thu Feb 26 01:26:49 2015	(r379976)
@@ -21,7 +21,7 @@ USES=		gettext gmake libtool:build readl
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	OPTIMIZER=" "
 CONFIGURE_ARGS=	--disable-shared --enable-readline
-ALL_TARGET=
+ALL_TARGET=	# empty
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
@@ -46,4 +46,12 @@ post-patch:
 	@${REINPLACE_CMD} 's|$$(PKG_LOCALE_DIR)|$$(DESTDIR)&|' \
 		${WRKSRC}/include/buildmacros
 
+post-install:
+.for f in xfs_db xfs_growfs xfs_io xfs_logprint xfs_mdrestore xfs_quota xfs_rtcp
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}
+.endfor
+.for f in xfs_repair mkfs.xfs
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/${f}
+.endfor
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list