- Mark BROKEN on FreeBSD 5.X

Reported by:	pointyhat
This commit is contained in:
Pav Lucistnik 2007-10-27 18:45:01 +00:00
parent c477298f2a
commit dc960566c7
2 changed files with 14 additions and 2 deletions

View file

@ -24,6 +24,12 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
INSTALL_TARGET= install docinstall
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BROKEN= Does not compile
.endif
post-patch:
@${REINPLACE_CMD} -e 's|prefix=/usr|prefix=${PREFIX}|' \
${WRKSRC}/Makefile
@ -32,4 +38,4 @@ post-install:
@-update-mime-database ${PREFIX}/share/mime
@-update-desktop-database
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View file

@ -37,6 +37,12 @@ PLIST_FILES= ${BINS:S|^|bin/|} %%SITE_PERL%%/ExactImage.so \
%%SITE_PERL%%/ExactImage.pm
PORT_VERBS= ExactImage ${BINS}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BROKEN= Does not compile, missing endian.h header
.endif
post-extract:
@${RM} -rf ${WRKSRC}/agg-2.4/
@ -66,4 +72,4 @@ do-install:
${INSTALL_PROGRAM} ExactImage.so ${SITE_PERL}/;\
${INSTALL_DATA} ExactImage.pm ${SITE_PERL}/
.include <bsd.port.mk>
.include <bsd.port.post.mk>