aboutsummaryrefslogtreecommitdiff
path: root/devel/ustl
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2005-08-31 03:13:57 +0000
committerKris Kennaway <kris@FreeBSD.org>2005-08-31 03:13:57 +0000
commit4f8b628e2618a5146325c94800dff97ad5988119 (patch)
tree8ba3d955d762f55c60746df380cb7c4c8c551e88 /devel/ustl
parentba670f107f8d8f1f948d27f894b270fe66197a01 (diff)
downloadports-4f8b628e2618a5146325c94800dff97ad5988119.tar.gz
ports-4f8b628e2618a5146325c94800dff97ad5988119.zip
Notes
Diffstat (limited to 'devel/ustl')
-rw-r--r--devel/ustl/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/ustl/Makefile b/devel/ustl/Makefile
index b8bf2a07713e..449d550dee43 100644
--- a/devel/ustl/Makefile
+++ b/devel/ustl/Makefile
@@ -28,6 +28,12 @@ ALL_TARGET= # empty
PLIST_FILES= lib/libustl.a
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s,/bin/bash,/bin/sh," ${WRKSRC}/configure
@${REINPLACE_CMD} -e "s|SIZE_MAX|UINT_MAX|" ${WRKSRC}/memblock.h
@@ -39,4 +45,4 @@ post-install:
@${FIND} ${PREFIX}/include/ustl* -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>