Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 May 2012 12:02:35 +0400
From:      Jan Beich <jbeich@tormail.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/167814: [patch] games/openttd: respect STRIP
Message-ID:  <1ST7NQ-000I2H-CC@internal.tormail.org>
Resent-Message-ID: <201205120810.q4C8ADq8001210@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         167814
>Category:       ports
>Synopsis:       [patch] games/openttd: respect STRIP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 12 08:10:13 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jan Beich
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
>Description:
>How-To-Repeat:
$ make install WITH_DEBUG=
$ file /usr/local/bin/openttd
/usr/local/bin/openttd: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 10.0 (1000012), stripped
>Fix:
--- strip.diff begins here ---
Index: games/openttd/Makefile
===================================================================
RCS file: /a/.csup/ports/games/openttd/Makefile,v
retrieving revision 1.44
diff -u -p -r1.44 Makefile
--- games/openttd/Makefile	18 Feb 2012 10:18:04 -0000	1.44
+++ games/openttd/Makefile	12 May 2012 07:54:46 -0000
@@ -25,6 +24,7 @@ LIB_DEPENDS=	png.6:${PORTSDIR}/graphics/
 
 USE_XZ=		yes
 HAS_CONFIGURE=	yes
+CONFIGURE_ENV=	STRIP="${STRIP_CMD} ${STRIP}"
 CONFIGURE_ARGS=	--prefix-dir="${PREFIX}" --data-dir="${DATADIR_REL}"
 USE_GMAKE=	yes
 MAKE_ARGS=	VERBOSE=1		# We want to see what's going on
--- strip.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1ST7NQ-000I2H-CC>