From owner-svn-ports-all@FreeBSD.ORG Fri Apr 4 11:36:09 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4C4E4485; Fri, 4 Apr 2014 11:36:09 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 38816D6; Fri, 4 Apr 2014 11:36:09 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s34Ba9ID054823; Fri, 4 Apr 2014 11:36:09 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s34Ba96g054822; Fri, 4 Apr 2014 11:36:09 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201404041136.s34Ba96g054822@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 4 Apr 2014 11:36:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350098 - head/news/sn X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2014 11:36:09 -0000 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: