diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2004-11-11 16:27:11 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2004-11-11 16:27:11 +0000 |
commit | 7b3e74add8fe6cdda2bbcb26894be74b718c987c (patch) | |
tree | c166ed265175a847e07943072386ecadf9490070 /lang/swi-pl | |
parent | 9df9abd00d044d7ca13d3c265586f2bfe4fb6c87 (diff) | |
download | ports-7b3e74add8fe6cdda2bbcb26894be74b718c987c.tar.gz ports-7b3e74add8fe6cdda2bbcb26894be74b718c987c.zip |
Notes
Diffstat (limited to 'lang/swi-pl')
-rw-r--r-- | lang/swi-pl/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/lang/swi-pl/Makefile b/lang/swi-pl/Makefile index 7ea6a74a6db0..55c71577e441 100644 --- a/lang/swi-pl/Makefile +++ b/lang/swi-pl/Makefile @@ -15,20 +15,17 @@ DISTNAME= pl-${PORTVERSION} MAINTAINER= max@FreeBSD.org COMMENT= Edinburgh-style Prolog compiler -CONFLICTS= ploticus-* slffea-* TenDRA-* +CONFLICTS= ploticus-[0-9]* slffea-[0-9]* TenDRA-[0-9]* +NOPRECIOUSMAKEVARS=yes +USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --host=${MACHINE_ARCH}-${OPSYS:L} --disable-mt -STRIP= MAN1= pl.1 plrc.1 plld.1 PLIST_SUB= DISTNAME=${DISTNAME} ARCH=${ARCH} OS=${OPSYS:L} .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 502126 -BROKEN= "Broken pkg-plist" -.endif - .if (${ARCH} == "i386") PLIST_SUB+= BITS=32 .else @@ -43,9 +40,8 @@ EXTRA_PATCHES= ${FILESDIR}/extra-patch-src-configure BROKEN= "Broken pkg-plist" .endif -post-install: -.for f in pl plld plrc - @${STRIP_CMD} ${PREFIX}/lib/${DISTNAME}/bin/${ARCH}-${OPSYS:L}/$f -.endfor +post-patch: + ${REINPLACE_CMD} -e '/edit/s/INSTALL_PROGRAM/BSD_INSTALL_SCRIPT/g' \ + ${WRKSRC}/src/Makefile.in .include <bsd.port.post.mk> |