aboutsummaryrefslogtreecommitdiffstats
path: root/lang/swi-pl
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-11-12 00:27:11 +0800
committerleeym <leeym@FreeBSD.org>2004-11-12 00:27:11 +0800
commitf978533826fbecff0f9743ea5aa59238055725e8 (patch)
tree6c26e6d9bf306087a32a4b4263e90bcef2b1e150 /lang/swi-pl
parent1c1c26d11ff8388704d6c432304f7c102b6a1730 (diff)
downloadfreebsd-ports-gnome-f978533826fbecff0f9743ea5aa59238055725e8.tar.gz
freebsd-ports-gnome-f978533826fbecff0f9743ea5aa59238055725e8.tar.zst
freebsd-ports-gnome-f978533826fbecff0f9743ea5aa59238055725e8.zip
- correct CONFLICTS
- add NOPRECIOUSMAKEVARS to avoid changing ARCH - fix build and unbreak this port on 5.x - not to STRIP scripts PR: (based on) 71982 Submitted by: leeym Approved by: maintainer timeout
Diffstat (limited to 'lang/swi-pl')
-rw-r--r--lang/swi-pl/Makefile16
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>