diff options
author | jkoshy <jkoshy@FreeBSD.org> | 1999-02-23 02:20:21 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 1999-02-23 02:20:21 +0000 |
commit | 4c38c86ac19e7051c131e9c749eb08dbbbe0dafa (patch) | |
tree | 70177f435c6aa5de9b68d89a9bf71bb436267b7c /shells | |
parent | 751c64f18640b510b8540e93b3b432297b82fe71 (diff) | |
download | FreeBSD-ports-4c38c86ac19e7051c131e9c749eb08dbbbe0dafa.zip FreeBSD-ports-4c38c86ac19e7051c131e9c749eb08dbbbe0dafa.tar.gz |
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')
-rw-r--r-- | shells/scsh/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/shells/scsh/Makefile b/shells/scsh/Makefile index fe1f9da..114b2d1 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> |