Force files overwrite with USE_ZIP=yes
Alexey Dokuchaev
danfe at nsu.ru
Sun Jun 1 13:49:07 PDT 2003
Hello there!
While, when [gb]ziped distfiles explicitly set to overwrite existing
files upon extraction, this is not the case with .zip-suffixed
distfiles, thus requiring explicit override of EXTRACT_BEFORE_ARGS for
some ports that need this. I therefore propose the following change to
/usr/ports/Mk/bsd.port.mk to make things easier for porters and general
consistency with GZIP/BZIP2 distfiles behavior.
--- bsd.port.mk.orig Mon Jun 2 03:42:10 2003
+++ bsd.port.mk Mon Jun 2 03:42:20 2003
@@ -1743,7 +1743,7 @@
# EXTRACT_SUFX is defined in .pre.mk section
.if defined(USE_ZIP)
EXTRACT_CMD?= unzip
-EXTRACT_BEFORE_ARGS?= -q
+EXTRACT_BEFORE_ARGS?= -qo
EXTRACT_AFTER_ARGS?= -d ${WRKDIR}
.else
EXTRACT_BEFORE_ARGS?= -dc
./danfe
More information about the freebsd-ports
mailing list