Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2001 10:37:43 -0800 (PST)
From:      Hye-Shik Chang <perky@fallin.lv>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/31599: Fix port: www/apache2
Message-ID:  <200110291837.f9TIbhn42156@freefall.freebsd.org>

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

>Number:         31599
>Category:       ports
>Synopsis:       Fix port: www/apache2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 29 10:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Hye-Shik Chang
>Release:        FreeBSD 4.4
>Organization:
Yonsei University
>Environment:
FreeBSD kornet.hanirc.org 4.4-STABLE FreeBSD 4.4-STABLE #0: Mon Sep 24 14:46:54 KST 2001     root@kornet.hanirc.org:/home/src/sys/compile/HANIRC  i386
>Description:
please change pkg-install & pkg-deinstall's mode to 755
to allow Makefile to execute them.

Notified by: "Eli K Breen" <eli@sectornotfound.com>

>How-To-Repeat:

>Fix:
chmod u+x pkg-*install  (ehmm..)


or

this is reasonable, too.

diff -ruN apache2.orig/Makefile apache2/Makefile
--- apache2.orig/Makefile	Tue Oct 30 03:30:53 2001
+++ apache2/Makefile	Tue Oct 30 03:31:30 2001
@@ -66,7 +66,7 @@
 	@${FIND} ${WRKSRC} -name "*.orig"|${XARGS} ${RM} -f
 
 pre-install:
-	PKG_PREFIX=${PREFIX} ./pkg-install ${PKGNAME} PRE-INSTALL
+	PKG_PREFIX=${PREFIX} ${SH} ${.CURDIR}/pkg-install ${PKGNAME} PRE-INSTALL
 
 post-install:
 	@if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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