summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/cgiparse/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/cgiparse/Makefile b/www/cgiparse/Makefile
index 914fbdd6e323..3cca1ca3230e 100644
--- a/www/cgiparse/Makefile
+++ b/www/cgiparse/Makefile
@@ -21,7 +21,13 @@ MAN3= cgiclose.3 cgigetvalue.3 cginewquerystr.3
INSTALLS_SHLIB= yes
CFLAGS+= "-fPIC"
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+BROKEN= "Does not link on amd64 (mime port needs to provide libmime.so)"
+.endif
+
post-install:
${LN} -sf libcgiparse.so.1 ${PREFIX}/lib/libcgiparse.so
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>