Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 2004 09:53:53 -0700 (PDT)
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/69624: suphp 0.5.2 -- Sanity check for older FreeBSD 4.x systems
Message-ID:  <200407261653.i6QGrriu068982@pentarou.parodius.com>
Resent-Message-ID: <200407261700.i6QH0d17077005@freefall.freebsd.org>

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

>Number:         69624
>Category:       ports
>Synopsis:       suphp 0.5.2 -- Sanity check for older FreeBSD 4.x systems
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 26 17:00:39 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jeremy Chadwick
>Release:        FreeBSD 4.10-PRERELEASE i386
>Organization:
Parodius Networking
>Environment:
System: FreeBSD pentarou.parodius.com 4.10-PRERELEASE FreeBSD 4.10-PRERELEASE #0: Wed May 5 03:33:17 PDT 2004 root@pentarou.parodius.com:/usr/obj/usr/src/sys/PENTAROU i386
>Description:
	I've been getting a lot of Email recently from FreeBSD users who are
	trying to use this port on systems which lack the -C capability of
	make(1) (i.e. systems  before FreeBSD 4.9-RELEASE).  4.9-RELEASE added a
	proper and working -C flag for make(1), which is what this port relies on.
	This was addressed in PR bin/50981 (and subsequently some others).

	Below patch adds a sanity check to ensure that people are using a version
	of FreeBSD that's at least a little more up-to-date.  Folks can upgrade
	make(1) by itself if necessary, but generally speaking, one should update
	to 4.10 anyways.
>How-To-Repeat:
	Run "make" on a system which lacks make -C.
>Fix:
	Apply below patch to ports/www/suphp/Makefile.


--- Makefile.orig	Thu Jul 15 15:13:36 2004
+++ Makefile	Mon Jul 26 09:49:04 2004
@@ -58,6 +58,14 @@
 
 .include <bsd.port.pre.mk>
 
+##
+## Sanity check; -C flag for make(1) was added in 4.8, but was not
+## fully fixed until shortly before 4.9-RELEASE.  We need -C !
+##
+.if ${OSVERSION} < 490000
+BROKEN=	Please upgrade to FreeBSD 4.9-RELEASE or higher \(see PR bin/50981\).
+.endif
+
 .if exists(${LOCALBASE}/include/apache2/apr.h) || defined(WITH_APACHE2)
 APACHE_PORT=	www/apache2
 PLIST_SUB+=	MODULEDIR="libexec/apache2/"
>Release-Note:
>Audit-Trail:
>Unformatted:



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