Date: Sun, 20 Mar 2016 10:59:22 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411433 - head/Mk Message-ID: <201603201059.u2KAxM20078597@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tijl Date: Sun Mar 20 10:59:22 2016 New Revision: 411433 URL: https://svnweb.freebsd.org/changeset/ports/411433 Log: Revert local changes accidentally committed in previous commit. Approved by: portmgr (implicit) Modified: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Sun Mar 20 10:53:08 2016 (r411432) +++ head/Mk/bsd.port.mk Sun Mar 20 10:59:22 2016 (r411433) @@ -1064,8 +1064,6 @@ LIB_DIRS?= /lib /usr/lib ${LOCALBASE}/l STAGEDIR?= ${WRKDIR}/stage NOTPHONY?= MINIMAL_PKG_VERSION= 1.6.0 -LANG= C -.export LANG # make sure bmake treats -V as expected .MAKE.EXPAND_VARIABLES= yes @@ -1106,44 +1104,12 @@ STRIPBIN= ${STRIP_CMD} .else -# Look for files named "*.orig" under ${PATCH_WRKSRC} and (re-)generate -# ${PATCHDIR}/patch-* files from them. .if !target(makepatch) makepatch: - @${MKDIR} ${PATCHDIR} - @(cd ${PATCH_WRKSRC} && find -s * -type f -name '*.orig' | awk ' \ - BEGIN { sep = "-" }; \ - FILENAME == "-" { sub(/\.orig$$/, ""); list[n++] = $$0 }; \ - FILENAME == "-" && index($$0, sep) { \ - gsub(/-/, "_", sep) || gsub(/_/, "+", sep) || \ - gsub(/\+/, "-", sep) && sep = sep "-" }; \ - FILENAME != "-" && /^\+\+\+/ { \ - sub(/^\.\//, "", $$2); patches[$$2] = FILENAME; \ - if (index($$2, sep)) \ - gsub(/-/, "_", sep) || gsub(/_/, "+", sep) || \ - gsub(/\+/, "-", sep) && sep = sep "-" }; \ - END { \ - for (i in list) { \ - p = list[i]; \ - if (p in patches) system("${RM} " patches[p]); \ - } \ - for (i = 0; i < n; i++) { \ - p = list[i]; \ - if (p in patches) print p, patches[p]; \ - else { \ - gsub("/", sep, p); \ - print list[i], "${PATCHDIR}/patch-" p; \ - } \ - } \ - }' - `find -s ${PATCHDIR} -name 'patch-*'` | \ - while read f p; do \ - cmp -s $$f.orig $$f && continue; \ - ${ECHO} ${DIFF} -udp $$f.orig $$f '>>' $$p; \ - TZ=UTC ${DIFF} -udp $$f.orig $$f | ${SED} \ - -e '/^---/s|\.[0-9]* +0000$$| UTC|' \ - -e '/^+++/s|\([[:blank:]][-0-9:.+]*\)*$$||' \ - >> $$p || ${TRUE}; \ - done) + @${SETENV} WRKDIR=${WRKDIR} PATCHDIR=${PATCHDIR} \ + PATCH_WRKSRC=${PATCH_WRKSRC} \ + STRIP_COMPONENTS="${PATCH_STRIP:S/-p//}" \ + ${SH} ${SCRIPTSDIR}/smart_makepatch.sh .endif @@ -3249,14 +3215,6 @@ do-extract: fi .endif -.if !target(extract-recursive) -extract-recursive: - @${ECHO_MSG} "===> Extracting ${PKGNAME} and dependencies"; - @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ - (cd $$dir; ${MAKE} extract); \ - done -.endif # extract-recursive - # Patch .if !target(do-patch)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603201059.u2KAxM20078597>