From owner-svn-ports-all@freebsd.org Mon Nov 21 12:45:57 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40376C47D8A; Mon, 21 Nov 2016 12:45:57 +0000 (UTC) (envelope-from pawel@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 mx1.freebsd.org (Postfix) with ESMTPS id 0CB6A92; Mon, 21 Nov 2016 12:45:56 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uALCjush051174; Mon, 21 Nov 2016 12:45:56 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uALCjuWW051173; Mon, 21 Nov 2016 12:45:56 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201611211245.uALCjuWW051173@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Mon, 21 Nov 2016 12:45:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426710 - head/games/linux-dwarffortress 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.23 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: Mon, 21 Nov 2016 12:45:57 -0000 Author: pawel Date: Mon Nov 21 12:45:55 2016 New Revision: 426710 URL: https://svnweb.freebsd.org/changeset/ports/426710 Log: Better fix for execution error. INSTALL_LIB strip(1) libraries it installs, at least on FreeBSD 10 this operation changes type of library to FreeBSD making loading library fail on runtime. Modified: head/games/linux-dwarffortress/Makefile Modified: head/games/linux-dwarffortress/Makefile ============================================================================== --- head/games/linux-dwarffortress/Makefile Mon Nov 21 12:37:48 2016 (r426709) +++ head/games/linux-dwarffortress/Makefile Mon Nov 21 12:45:55 2016 (r426710) @@ -3,7 +3,7 @@ PORTNAME= dwarffortress DISTVERSION= 0.43.05 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games linux MASTER_SITES= http://www.bay12games.com/dwarves/ PKGNAMEPREFIX= linux- @@ -35,6 +35,7 @@ USE_LINUX= dri gtk2 libsndfile openal-so SUB_FILES= dwarffortress NO_BUILD= yes WRKSRC= ${WRKDIR}/df_linux +STRIP= # breaks execution, changes library ABI to FreeBSD type ONLY_FOR_ARCHS= i386 amd64 @@ -51,11 +52,8 @@ do-install: ${BRANDELF} -t Linux ${WRKSRC}/libs/Dwarf_Fortress ${INSTALL_PROGRAM} ${WRKSRC}/libs/Dwarf_Fortress \ ${STAGEDIR}${PREFIX}/libexec/dwarffortress -.for lib in libgcc_s.so.1 libgraphics.so libstdc++.so.6 - ${BRANDELF} -t Linux ${WRKSRC}/libs/${lib} - ${INSTALL_LIB} ${WRKSRC}/libs/${lib} \ - ${STAGEDIR}${PREFIX}/libexec/dwarffortress -.endfor + (cd ${WRKSRC}/libs && ${INSTALL_LIB} libgcc_s.so.1 libgraphics.so \ + libstdc++.so.6 ${STAGEDIR}${PREFIX}/libexec/dwarffortress) @${MKDIR} ${STAGEDIR}${DATADIR}/data (cd ${WRKSRC} && ${COPYTREE_SHARE} raw ${STAGEDIR}${DATADIR}) (cd ${WRKSRC}/data && ${COPYTREE_SHARE} "announcement art dipscript \