[Bug 207895] make package is a no-op if ${PACKAGES} doesn't exist

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 11 10:23:17 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207895

--- Comment #1 from Mathieu Arnold <mat at FreeBSD.org> ---
Well, it already does:

do-package: ${TMPPLIST}
    @if [ -d ${PACKAGES} ]; then \
        if [ ! -d ${PKGREPOSITORY} ]; then \
            if ! ${MKDIR} ${PKGREPOSITORY}; then \
                ${ECHO_MSG} "=> Can't create directory ${PKGREPOSITORY}."; \

Though, if the PACKAGES directory does not exist prior to running the command,
it will get saved in the port directory:

.if exists(${PACKAGES})
PKGFILE?=       ${PKGREPOSITORY}/${PKGNAME}${PKG_SUFX}
.else
PKGFILE?=       ${.CURDIR}/${PKGNAME}${PKG_SUFX}
.endif

What exactly happened in your case ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list