aboutsummaryrefslogtreecommitdiff
path: root/devel/mime/Makefile
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2005-10-28 06:04:12 +0000
committerKris Kennaway <kris@FreeBSD.org>2005-10-28 06:04:12 +0000
commit7245e7f2507643c5658ca06a7ef83e073d01b111 (patch)
tree5678e9f9afe83e3bb2b66df8f430d7e3d13196c4 /devel/mime/Makefile
parentd4b61aaacaf5c68279dc7dce7065ef151ec1710c (diff)
downloadports-7245e7f2507643c5658ca06a7ef83e073d01b111.tar.gz
ports-7245e7f2507643c5658ca06a7ef83e073d01b111.zip
Notes
Diffstat (limited to 'devel/mime/Makefile')
-rw-r--r--devel/mime/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/mime/Makefile b/devel/mime/Makefile
index 7ee4a8340029..c66bef314405 100644
--- a/devel/mime/Makefile
+++ b/devel/mime/Makefile
@@ -18,10 +18,16 @@ GNU_CONFIGURE= yes
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 600034
+BROKEN= "Does not compile on FreeBSD >= 6.0"
+.endif
+
post-patch:
${REINPLACE_CMD} -e "s,-fpic,-fpic -fPIC,g" ${WRKSRC}/Makefile.in
post-install:
@ cd ${PREFIX}/lib ; ${LN} -sf libmime.so.1 libmime.so
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>