Unbreak for ELF. I didn't hear from the maintainer, but the fix is a
minor one (addition of LDFLAGS to CONFIGURE_ENV).
This commit is contained in:
parent
af34c77e3f
commit
3b71761006
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=16868
2 changed files with 16 additions and 8 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue