aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/swt-devel
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-10-18 00:54:44 +0800
committerantoine <antoine@FreeBSD.org>2014-10-18 00:54:44 +0800
commitc1c639f16fc7c258bb4d5a945616b5a17f1c561f (patch)
tree37eb0194f7c9eb4d8682d5a4ca6a888b5c21dfb9 /x11-toolkits/swt-devel
parent2ad41e02a19831fb9b4abd41f57b8e32d2c8647c (diff)
downloadfreebsd-ports-gnome-c1c639f16fc7c258bb4d5a945616b5a17f1c561f.tar.gz
freebsd-ports-gnome-c1c639f16fc7c258bb4d5a945616b5a17f1c561f.tar.zst
freebsd-ports-gnome-c1c639f16fc7c258bb4d5a945616b5a17f1c561f.zip
Fix build on freebsd 8
Diffstat (limited to 'x11-toolkits/swt-devel')
-rw-r--r--x11-toolkits/swt-devel/Makefile10
1 files changed, 2 insertions, 8 deletions
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 <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>