ports/50688: [PATCH] www/apache13-modssl fails to install
Mike Boev
mike at tric.tomsk.gov.ru
Mon Apr 7 18:12:02 UTC 2003
>Number: 50688
>Category: ports
>Synopsis: [PATCH] www/apache13-modssl fails to install
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 07 11:10:05 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Mike Boev <mike at tric.tomsk.gov.ru>
>Release: FreeBSD 4.8-RC i386
>Organization:
Tomsk Regional Information Center
>Environment:
System: FreeBSD isrv.tric.tomsk.gov.ru 4.8-RC FreeBSD 4.8-RC #2: Mon Mar 31 11:20:55 NOVST 2003 root at isrv.tric.tomsk.gov.ru:/usr/obj/srv/FreeBSD/src/sys/ISRV i386
A fresh checkout of the port, currently Makefile at v 1.118 2003/04/03 19:39:15 dinoe
x
>Description:
Installation of the port fails at the pre-install stage
when it tries to execute the pkg-install script.
The script resides in the ports tree and but not in the WRKDIR
>How-To-Repeat:
cd /usr/ports/www/apache13-modssl
make
make install
<breaks here>
>Fix:
We can use the (standard?) technique of executing pkg-install by
referencing it indirectly (through $PKGINSTALL macro), as is done in
net/cvsupit, for example
please, find the patch that makes that change:
--- www/apache13-modssl/Makefile.orig Tue Apr 8 00:30:22 2003
+++ www/apache13-modssl/Makefile Tue Apr 8 00:43:17 2003
@@ -147,7 +147,7 @@
&& ${MAKE} certificate TYPE=${TYPE} CRT=${CRT} KEY=${KEY}
pre-install:
- PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL
+ @PKG_PREFIX=${PREFIX} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install:
${INSTALL_DATA} ${WRKSRC}/apache.sh ${PREFIX}/etc/rc.d/apache.sh-dist
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list