From f34103263e03850d02974c77bc12e579ddef038b Mon Sep 17 00:00:00 2001 From: espie Date: Tue, 14 Sep 1999 10:43:53 +0000 Subject: [PATCH] Shell disagrees with extra-quotes. Don't change Makefile, provide extra tweaking button instead. --- shells/zsh-devel/Makefile | 9 ++++++--- shells/zsh/Makefile | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/shells/zsh-devel/Makefile b/shells/zsh-devel/Makefile index d4aca00c4a4..638874d60ef 100644 --- a/shells/zsh-devel/Makefile +++ b/shells/zsh-devel/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 1999/09/10 22:26:14 brad Exp $ +# $OpenBSD: Makefile,v 1.6 1999/09/14 10:43:54 espie Exp $ DISTNAME= zsh-3.1.6 CATEGORIES= shells @@ -16,8 +16,11 @@ MAINTAINER= brad@openbsd.org GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-zsh-mem --enable-zsh-secure-free --enable-dynamic -# If you want to build a static binary, uncomment the following line -#CONFIGURE_ENV+= "LDFLAGS=-static" +# invoke with -DSTATIC to build a static binary +.if defined(STATIC) +CONFIGURE_ENV+= LDFLAGS=-static +PKGNAME= ${DISTNAME}-static +.endif post-install: @if [ ! -f ${PREFIX}/info/dir ]; then \ diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile index 997a59d4bc7..497f5c82625 100644 --- a/shells/zsh/Makefile +++ b/shells/zsh/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 1999/09/10 22:23:47 brad Exp $ +# $OpenBSD: Makefile,v 1.11 1999/09/14 10:43:53 espie Exp $ DISTNAME= zsh-3.0.6 CATEGORIES= shells @@ -16,8 +16,11 @@ MAINTAINER= ports@openbsd.org GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-zsh-mem --enable-zsh-secure-free -# If you want to build a static binary, uncomment the following line -#CONFIGURE_ENV+= "LDFLAGS=-static" +# invoke with -DSTATIC to build a static binary +.if defined(STATIC) +CONFIGURE_ENV+= LDFLAGS=-static +PKGNAME= ${DISTNAME}-static +.endif post-install: @if [ ! -f ${PREFIX}/info/dir ]; then \