svn commit: r371067 - head/x11-toolkits/swt-devel

Antoine Brodin antoine at FreeBSD.org
Fri Oct 17 16:54:45 UTC 2014


Author: antoine
Date: Fri Oct 17 16:54:44 2014
New Revision: 371067
URL: https://svnweb.freebsd.org/changeset/ports/371067
QAT: https://qat.redports.org/buildarchive/r371067/

Log:
  Fix build on freebsd 8

Modified:
  head/x11-toolkits/swt-devel/Makefile

Modified: head/x11-toolkits/swt-devel/Makefile
==============================================================================
--- head/x11-toolkits/swt-devel/Makefile	Fri Oct 17 16:52:51 2014	(r371066)
+++ head/x11-toolkits/swt-devel/Makefile	Fri Oct 17 16:54:44 2014	(r371067)
@@ -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>


More information about the svn-ports-all mailing list