aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
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 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>