Date: Mon, 2 Feb 2004 21:58:07 +0200 From: Ion-Mihai Tetcu <itetcu@apropo.ro> To: Ion-Mihai Tetcu <itetcu@apropo.ro> Cc: ports@FreeBSD.ORG Subject: unbreaking fetch for ports with WANT_PHP_WEB=yes an no mod_php installed (was: WANT_PHP_WEB=yes and make fetch) Message-ID: <20040202215807.0bde6235@it.buh.cameradicommercio.ro> In-Reply-To: <20040202203931.4bd23361@it.buh.cameradicommercio.ro> References: <20040202203931.4bd23361@it.buh.cameradicommercio.ro>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2 Feb 2004 20:39:31 +0200 Ion-Mihai Tetcu <itetcu@apropo.ro> wrote: > Hi, > > > There are some ports that set WANT_PHP_WEB=yes and includes > lang/php4/bsd.php.mk. One example is www/smarty which has in its [..] > The way I see it, fetch should mean only fetch (e.g. downloading the > distfile(s)) and not checking anything else. The checking should be done > after fetching. > > Moving the inclusion of bsd.php.mk, e.g.: > > [..] > NO_BUILD= yes > WANT_PHP_WEB= yes > > PKGMESSAGE= ${WRKDIR}/pkg-message > MSG_SRC= ${FILESDIR}/pkg-message > > MSG_SUB= DATADIR=${DATADIR} LOCALBASE=${LOCALBASE} > > .include <bsd.port.pre.mk> > .post-fetch: > .include "${PORTSDIR}/lang/php4/bsd.php.mk" > do-install: > [..] > > unbreaks fetching (at least for some of them on which I've tested). Am I > missing anything here or could I prepare a patch ? I've tested the above for: mail/nocc/ www/gallery/ www/smarty/ www/phpSysInfo graphics/jpgraph -- IOnut Unregistered ;) FreeBSD user
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040202215807.0bde6235>