aboutsummaryrefslogtreecommitdiffstats
path: root/lang/swi-pl
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2005-02-14 01:29:52 +0800
committerarved <arved@FreeBSD.org>2005-02-14 01:29:52 +0800
commit9e244df85b94186792da0954d9c608bb339c3052 (patch)
tree970075db4c78c1982cc84b4ccfaa0a30b3c9dd0d /lang/swi-pl
parentaafe5bbfa2c4f80584511a5436c76bac94649e3d (diff)
downloadfreebsd-ports-gnome-9e244df85b94186792da0954d9c608bb339c3052.tar.gz
freebsd-ports-gnome-9e244df85b94186792da0954d9c608bb339c3052.tar.zst
freebsd-ports-gnome-9e244df85b94186792da0954d9c608bb339c3052.zip
Unbreak package build on amd64
Submitted by: Gerhard Gonter <g.gonter@ieee.org>
Diffstat (limited to 'lang/swi-pl')
-rw-r--r--lang/swi-pl/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/swi-pl/Makefile b/lang/swi-pl/Makefile
index 064197d42039..4ac46211e1e4 100644
--- a/lang/swi-pl/Makefile
+++ b/lang/swi-pl/Makefile
@@ -44,6 +44,8 @@ post-patch:
post-configure:
${REINPLACE_CMD} -e '/MALLOC_H/s/^#define \(HAVE_.*_MALLOC_H\).*/\/\* #undef \1 \*\//g' \
${WRKSRC}/src/config.h
+ ${REINPLACE_CMD} -e '/^ARCH=/s/^ARCH=.*/ARCH=${ARCH}-${OPSYS:L}/' \
+ ${WRKSRC}/src/Makefile
post-install:
.for f in pl plld plrc