Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2003 01:01:33 +0700 (NOVST)
From:      Mike Boev <mike@tric.tomsk.gov.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50688: [PATCH] www/apache13-modssl fails to install
Message-ID:  <200304071801.h37I1X7c096545@isrv.tric.tomsk.gov.ru>
Resent-Message-ID: <200304071810.h37IA6PU049193@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304071801.h37I1X7c096545>