aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>1999-02-23 02:20:21 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>1999-02-23 02:20:21 +0000
commit3b71761006d02b535f17a13d8f20515b28367fed (patch)
treec9402417eb6ee6e18604645acb8815f83102e26f /shells
parentaf34c77e3f95eafd550b1f027f2527c2dcd3330a (diff)
downloadports-3b71761006d02b535f17a13d8f20515b28367fed.tar.gz
ports-3b71761006d02b535f17a13d8f20515b28367fed.zip
Unbreak for ELF. I didn't hear from the maintainer, but the fix is a
minor one (addition of LDFLAGS to CONFIGURE_ENV).
Notes
Notes: svn path=/head/; revision=16868
Diffstat (limited to 'shells')
-rw-r--r--shells/scsh/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/shells/scsh/Makefile b/shells/scsh/Makefile
index fe1f9dab4804..114b2d14abe7 100644
--- a/shells/scsh/Makefile
+++ b/shells/scsh/Makefile
@@ -3,7 +3,7 @@
# Date created: Jul, 15, 1997
# Whom: cracauer@cons.org "Martin Cracauer"
#
-# $Id: Makefile,v 1.5 1998/09/29 02:37:14 jseger Exp $
+# $Id: Makefile,v 1.6 1998/12/02 23:50:37 cracauer Exp $
#
DISTNAME= scsh-0.5.1
@@ -14,14 +14,18 @@ MASTER_SITES= ftp://ftp-swiss.ai.mit.edu/pub/su/scsh/ \
MAINTAINER= cracauer@cons.org
+.include <bsd.port.pre.mk>
+
GNU_CONFIGURE= yes
+.if $(PORTOBJFORMAT) == elf
+CONFIGURE_ENV+= LDFLAGS="-Wl,-E"
+.endif
+
ALL_TARGET= enough
MAN1= scsh.1
STRIP=
-BROKEN_ELF= build
-
post-install:
@strip ${PREFIX}/bin/scsh
(cd ${WRKSRC} ; \
@@ -29,4 +33,4 @@ post-install:
${RM} -f ${PREFIX}/share/doc/scsh
ln -fs ${PREFIX}/lib/scsh/doc ${PREFIX}/share/doc/scsh
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>