From owner-svn-ports-head@freebsd.org Tue Sep 11 23:08:00 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 039FE109FEAF; Tue, 11 Sep 2018 23:08:00 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ABE648E3CE; Tue, 11 Sep 2018 23:07:59 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A22411E571; Tue, 11 Sep 2018 23:07:59 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8BN7xBD034891; Tue, 11 Sep 2018 23:07:59 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8BN7xxV034890; Tue, 11 Sep 2018 23:07:59 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201809112307.w8BN7xxV034890@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Tue, 11 Sep 2018 23:07:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r479573 - head/math/coinmp X-SVN-Group: ports-head X-SVN-Commit-Author: cpm X-SVN-Commit-Paths: head/math/coinmp X-SVN-Commit-Revision: 479573 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2018 23:08:00 -0000 Author: cpm Date: Tue Sep 11 23:07:59 2018 New Revision: 479573 URL: https://svnweb.freebsd.org/changeset/ports/479573 Log: - Use INSTALL_TARGET=install-strip instead of manual stripping - Fix 'present but cannot be compiled' warnings PR: 231262 Submitted by: avos Modified: head/math/coinmp/Makefile Modified: head/math/coinmp/Makefile ============================================================================== --- head/math/coinmp/Makefile Tue Sep 11 22:42:26 2018 (r479572) +++ head/math/coinmp/Makefile Tue Sep 11 23:07:59 2018 (r479573) @@ -44,9 +44,7 @@ GLPK_CONFIGURE_OFF= --disable-glpk-libcheck PARALLEL_CONFIGURE_ON= --enable-cbc-parallel -STRIP_FILES= libCoinUtils libOsi libOsiClp libOsiCommonTests libClp libClpSolver \ - libCgl libCbc libCbcSolver libOsiCbc libCoinMP - +INSTALL_TARGET= install-strip TEST_TARGET= unitTest TEST_WRKSRC= ${WRKSRC}/${PORTNAME} @@ -56,13 +54,10 @@ post-patch:: -e 's|addlibs_DATA = examples/Makefile examples/example.c||g' \ -e 's|DocInstallDir = $$(datadir)/coin/doc/$$(PACKAGE_NAME)|DocInstallDir = $$(datadir)/doc/CoinMP/$$(PACKAGE_NAME)|' \ -e 's| $$(MAKE) $$(AM_MAKEFLAGS) install-data-hook||' + @${FIND} ${WRKSRC} -name configure | ${XARGS} ${REINPLACE_CMD} \ + -e 's|void exit (int)|void reserved (int)|g' ${REINPLACE_CMD} -e 's|datacoin_DATA = $$(EXAMPLE_FILES)|datacoin_DATA = |' \ -e 's|datacoindir = $$(datadir)/coin/Data/Sample|datacoindir = |' ${WRKSRC}/Data/Sample/Makefile.in ${REINPLACE_CMD} -e 's|addlibsdir = $$(DESTDIR)$$(datadir)/coin/doc/CoinMP|addlibsdir = |' ${WRKSRC}/CoinMP/Makefile.in - -post-install: -.for filename in ${STRIP_FILES} - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${filename}.so.* -.endfor .include