Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 May 2012 09:23:25 +0200
From:      Jan Beich <jbeich@tormail.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/167816: [patch] archivers/unzip: respect STRIP
Message-ID:  <1ST7My-000I1C-5f@internal.tormail.org>
Resent-Message-ID: <201205120810.q4C8AEZQ001230@freefall.freebsd.org>

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

>Number:         167816
>Category:       ports
>Synopsis:       [patch] archivers/unzip: 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/unzip
/usr/local/bin/unzip: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 10.0 (1000010), stripped
>Fix:
--- strip.diff begins here ---
Index: archivers/unzip/Makefile
===================================================================
RCS file: /a/.csup/ports/archivers/unzip/Makefile,v
retrieving revision 1.72
diff -u -p -r1.72 Makefile
--- archivers/unzip/Makefile	30 Aug 2011 08:11:57 -0000	1.72
+++ archivers/unzip/Makefile	12 May 2012 07:22:25 -0000
@@ -25,6 +25,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 CONFLICTS?=	unzip-iconv-[0-9]* zh-unzip-[0-9]* ko-unzip-[0-9]* ru-unzip-[0-9]*
 
 MAKEFILE=	unix/Makefile
+MAKE_ARGS=	LF2="${STRIP}"
 .if defined(INSTALL_AS_INFOUNZIP)
 UNZIP_NAME=	info-unzip
 .else
--- 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?1ST7My-000I1C-5f>