Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Mar 2016 10:23:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 207895] make package is a no-op if ${PACKAGES} doesn't exist
Message-ID:  <bug-207895-13-P0cIvlZBp0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207895-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207895-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207895

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

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

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

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

What exactly happened in your case ?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207895-13-P0cIvlZBp0>