svn commit: r350098 - head/news/sn
Baptiste Daroussin
bapt at FreeBSD.org
Fri Apr 4 11:36:09 UTC 2014
Author: bapt
Date: Fri Apr 4 11:36:08 2014
New Revision: 350098
URL: http://svnweb.freebsd.org/changeset/ports/350098
QAT: https://qat.redports.org/buildarchive/r350098/
Log:
Properly strip binaries and support cross building
Modified:
head/news/sn/Makefile
Modified: head/news/sn/Makefile
==============================================================================
--- head/news/sn/Makefile Fri Apr 4 11:29:07 2014 (r350097)
+++ head/news/sn/Makefile Fri Apr 4 11:36:08 2014 (r350098)
@@ -21,13 +21,16 @@ PORTDOCS= README CHANGES FAQ INSTALL INT
THANKS TODO INSTALL.notes INSTALL.notes2 \
INSTALL.run INSTALL.upgrade
+INSTALL_TARGET= strip install
+
OPTIONS_DEFINE= DOCS
# Try to fix parallel builds (-jX); respect CFLAGS
post-patch:
${REINPLACE_CMD} -e 's|sn\.a$$|& lib/libstuff.a| ; \
s|snlockf\.o$$|& lib/libstuff.a| ; \
- s|-g -Wall -pedantic -O|${CFLAGS} -Wall -pedantic|' \
+ s|-g -Wall -pedantic -O|${CFLAGS} -Wall -pedantic| ; \
+ s|strip |${STRIP_CMD} |' \
${WRKSRC}/Makefile
pre-install:
More information about the svn-ports-head
mailing list