From 435100cd4abbaf68711ac396b24f2aacc3cfc1cd Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Fri, 17 Oct 2014 16:54:44 +0000 Subject: Fix build on freebsd 8 --- x11-toolkits/swt-devel/Makefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'x11-toolkits') diff --git a/x11-toolkits/swt-devel/Makefile b/x11-toolkits/swt-devel/Makefile index fbec6f10f5c4..2a4a7a4cc54a 100644 --- a/x11-toolkits/swt-devel/Makefile +++ b/x11-toolkits/swt-devel/Makefile @@ -79,14 +79,8 @@ DIST_EXT= gtk-linux-ppc64 DIST_EXT= gtk-linux-x86 .endif -.include - 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 +.include -- cgit v1.2.3