Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2014 11:36:09 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350098 - head/news/sn
Message-ID:  <201404041136.s34Ba96g054822@svn.freebsd.org>

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



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