1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Fix build on freebsd 8

This commit is contained in:
Antoine Brodin 2014-10-17 16:54:44 +00:00
parent ec70887df0
commit 435100cd4a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371067

View File

@ -79,14 +79,8 @@ DIST_EXT= gtk-linux-ppc64
DIST_EXT= gtk-linux-x86
.endif
.include <bsd.port.pre.mk>
post-extract:
.if ${OSVERSION} > 900044
@(cd ${WRKSRC} && /usr/bin/unzip -qo *.zip)
.else
@(cd ${WRKSRC} && ${UNZIP_CMD} -qo *.zip)
.endif
@(cd ${WRKSRC} && ${UNZIP_NATIVE_CMD} -qo *.zip)
@${RM} -f ${WRKSRC}/*.o ${WRKSRC}/*.so ${WRKSRC}/*.jar
post-patch:
@ -99,4 +93,4 @@ do-install:
${INSTALL_LIB} ${WRKSRC}/libswt-*.so ${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/${OUTPUT_JAR} ${STAGEDIR}${JAVAJARDIR}/
.include <bsd.port.post.mk>
.include <bsd.port.mk>