aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2005-12-18 02:52:13 +0800
committerkris <kris@FreeBSD.org>2005-12-18 02:52:13 +0800
commit4f21092bd99eb83e0342827834da3ca54d645c95 (patch)
tree8282c3df960993cc6d614e4cea6a25134daac150 /lang
parent0e1e85aba269198ba18ad5895839b86468144073 (diff)
downloadfreebsd-ports-graphics-4f21092bd99eb83e0342827834da3ca54d645c95.tar.gz
freebsd-ports-graphics-4f21092bd99eb83e0342827834da3ca54d645c95.tar.zst
freebsd-ports-graphics-4f21092bd99eb83e0342827834da3ca54d645c95.zip
BROKEN on !i386: Does not compile
Diffstat (limited to 'lang')
-rw-r--r--lang/oorexx/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/oorexx/Makefile b/lang/oorexx/Makefile
index b3abc0e8d5e..a276807a29e 100644
--- a/lang/oorexx/Makefile
+++ b/lang/oorexx/Makefile
@@ -20,10 +20,16 @@ INSTALLS_SHLIB= yes
MAKE_ENV= EXAMPLESDIR="${EXAMPLESDIR}"
MAN1= rexx.1 rexxc.1 rxmigrate.1 rxsubcom.1 rxqueue.1
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-D_REENTRANT|${PTHREAD_CFLAGS}|; \
s|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|/usr/local/oorexx|${PREFIX}/lib/oorexx|' \
${WRKSRC}/rxtests/README
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>