summaryrefslogtreecommitdiffstats
path: root/devel/autoconf262
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2002-10-20 20:48:20 +0000
committeralane <alane@FreeBSD.org>2002-10-20 20:48:20 +0000
commit9919c107ff983701d6a84e1ea63e4bb7d907a9d2 (patch)
treeda876aea2d5d996ab93662d94dd4b8203fb5f964 /devel/autoconf262
parent1c7ba8f91b734279b89cba59732ad0c85c8cdddb (diff)
downloadFreeBSD-ports-9919c107ff983701d6a84e1ea63e4bb7d907a9d2.zip
FreeBSD-ports-9919c107ff983701d6a84e1ea63e4bb7d907a9d2.tar.gz
Set CONFIG_SHELL in env so always use /bin/sh. This way results are
at least (closer to) deterministic. PR: 39492 Submitted by: naddy
Diffstat (limited to 'devel/autoconf262')
-rw-r--r--devel/autoconf262/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/autoconf262/Makefile b/devel/autoconf262/Makefile
index 83f3fad..2554167 100644
--- a/devel/autoconf262/Makefile
+++ b/devel/autoconf262/Makefile
@@ -28,15 +28,18 @@ USE_GMAKE= yes
USE_PERL5= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4
+CONFIGURE_ENV+= CONFIG_SHELL=/bin/sh
+CONFIGURE_ENV+= M4=${LOCALBASE}/bin/gm4
+.if ${PORTNAME} == "autoconf"
.if exists(${LOCALBASE}/bin/emacs)
PLIST_SUB+= EMACS="" EMACSDIR=share/emacs
.elif exists(${LOCALBASE}/bin/xemacs)
PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs
.else
PLIST_SUB+= EMACS="@comment " EMACSDIR=""
-.endif
+.endif # no emacs found
+.endif # ${PORTNAME} == "autoconf"
GENERIC_TOOLS= config.guess \
config.sub \
OpenPOWER on IntegriCloud