ports/54699: [MAINTAINER] shells/zsh: NOSHARED does not produce static executable
Sergei Kolobov
sergei at kolobov.com
Mon Jul 21 11:50:27 UTC 2003
>Number: 54699
>Category: ports
>Synopsis: [MAINTAINER] shells/zsh: NOSHARED does not produce static executable
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 21 04:50:23 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Sergei Kolobov
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD elf.chetwood.ru 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Jul 15 17:02:55 MSD 2003
>Description:
- Fix build in NOSHARED case - make it produce a static version of zsh,
as intended
Noticed by: Dan Nelson
>How-To-Repeat:
>Fix:
--- zsh-4.0.7.patch begins here ---
Index: Makefile
===================================================================
RCS file: /FreeBSD/cvs/ports/shells/zsh/Makefile,v
retrieving revision 1.59
diff -u -r1.59 Makefile
--- Makefile 20 Jul 2003 04:18:18 -0000 1.59
+++ Makefile 21 Jul 2003 11:21:22 -0000
@@ -74,6 +74,7 @@
.endif
.if defined(NOSHARED)
+CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -static"
CONFIGURE_ARGS+= --disable-dynamic
PLIST_SUB+= NO_STATIC="@comment "
.else
--- zsh-4.0.7.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list