aboutsummaryrefslogtreecommitdiffstats
path: root/shells/scsh
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>1999-02-23 10:20:21 +0800
committerjkoshy <jkoshy@FreeBSD.org>1999-02-23 10:20:21 +0800
commit4c38c86ac19e7051c131e9c749eb08dbbbe0dafa (patch)
tree70177f435c6aa5de9b68d89a9bf71bb436267b7c /shells/scsh
parent751c64f18640b510b8540e93b3b432297b82fe71 (diff)
downloadfreebsd-ports-gnome-4c38c86ac19e7051c131e9c749eb08dbbbe0dafa.tar.gz
freebsd-ports-gnome-4c38c86ac19e7051c131e9c749eb08dbbbe0dafa.tar.zst
freebsd-ports-gnome-4c38c86ac19e7051c131e9c749eb08dbbbe0dafa.zip
Unbreak for ELF. I didn't hear from the maintainer, but the fix is a
minor one (addition of LDFLAGS to CONFIGURE_ENV).
Diffstat (limited to 'shells/scsh')
-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>