diff options
Diffstat (limited to 'devel/liboil')
-rw-r--r-- | devel/liboil/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/liboil/Makefile b/devel/liboil/Makefile index 3f58245a64ad..f900b402c8f6 100644 --- a/devel/liboil/Makefile +++ b/devel/liboil/Makefile @@ -20,9 +20,15 @@ INSTALLS_SHLIB= yes PLIST_SUB= VERSION=${PORTVERSION:R} +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +BROKEN= "Does not compile on FreeBSD 4.x" +.endif + post-patch: @${REINPLACE_CMD} -e 's|stdint\.h|inttypes.h|g' \ ${WRKSRC}/liboil/liboiltypes.h \ ${WRKSRC}/liboil/liboil.h -.include <bsd.port.mk> +.include <bsd.port.post.mk> |