aboutsummaryrefslogtreecommitdiff
path: root/lang/oorexx
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2005-12-17 18:52:13 +0000
committerKris Kennaway <kris@FreeBSD.org>2005-12-17 18:52:13 +0000
commit569963c1eba851d0029c4d5ee06f362282e84373 (patch)
tree24a8411e5a88752064c4bfc70e57017f1148edfc /lang/oorexx
parenta9214116096831ae7bc5366c780ea563e623e839 (diff)
downloadports-569963c1eba851d0029c4d5ee06f362282e84373.tar.gz
ports-569963c1eba851d0029c4d5ee06f362282e84373.zip
Notes
Diffstat (limited to 'lang/oorexx')
-rw-r--r--lang/oorexx/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/oorexx/Makefile b/lang/oorexx/Makefile
index b3abc0e8d5ef..a276807a29ea 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>