Date: Tue, 18 Nov 2014 23:14:31 -0500 (EST) From: "Mikhail T." <mi@aldan.algebra.com> To: java@FreeBSD.org Subject: opendjk-8 fails to extract Message-ID: <201411190414.sAJ4EViH002181@narawntapu.narawntapu>
next in thread | raw e-mail | index | archive | help
Hello! I wanted to build java/opendjk8, but it kept failing to extract: unzip was complaining about "invalid archive". That's probably because the port uses both .zip and .tar.gz files -- and BOTH are fed to unzip. This breaks things -- at least, when archivers/unzip is installed (and used) instead of the /usr/bin/unzip. Instead of guessing that, the below patch changes the Makefile so that tar(1) is used for both files instead. Our tar will eat anything today. Yours, -mi Index: Makefile =================================================================== --- Makefile (revision 372759) +++ Makefile (working copy) @@ -9,7 +9,7 @@ LOCAL/jkim:jdk,jtreg PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION} DISTNAME= ${PORTNAME}-${JDK_MAJOR_VERSION}-src-b${DIST_BUILD_NUMBER}-03_mar_2014 -DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:jdk +DISTFILES= ${DISTNAME}.zip:jdk MAINTAINER= java@FreeBSD.org COMMENT?= Java Development Kit ${JDK_MAJOR_VERSION} @@ -26,7 +26,7 @@ RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \ ${LOCALBASE}/lib/X11/fonts/dejavu:${PORTSDIR}/x11-fonts/dejavu -USES= compiler:features dos2unix gmake iconv pkgconfig shebangfix zip +USES= compiler:features dos2unix gmake iconv pkgconfig shebangfix USE_AUTOTOOLS= autoconf USE_XORG= x11 xext xi xrender xt xtst
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411190414.sAJ4EViH002181>