Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2009 03:20:31 GMT
From:      Rob Austein <sra@hactrn.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/136111: bsd.gecko.mk PORT_REPLACES_BASE_BIND check causes grautitous failures
Message-ID:  <200906280320.n5S3KVgM010697@www.freebsd.org>
Resent-Message-ID: <200906280330.n5S3U5xJ035005@freefall.freebsd.org>

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

>Number:         136111
>Category:       ports
>Synopsis:       bsd.gecko.mk PORT_REPLACES_BASE_BIND check causes grautitous failures
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 28 03:30:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Rob Austein
>Release:        6.4-STABLE
>Organization:
>Environment:
FreeBSD thrintun.hactrn.net 6.4-STABLE FreeBSD 6.4-STABLE #43: Wed Jun 10 09:03:37 EDT 2009     sra@thrintun.hactrn.net:/usr/obj/usr/src/sys/THRINTUN  i386

>Description:
/usr/ports/Mk/bsd.gecko.mk includes a check for bind ports installed in overwrite-base mode, and refuses to build if they are installed.  In my experience, this check is completely bogus, and the only build problem I see is that I have to comment out this freaking test every time I csup my ports tree.

I don't know what problem this was intended to solve, but from where I'm standing it's just a gratuitous failure.  Please consider removing it.

If there is a real problem here, please consider reporting it to the BIND ports maintainer (or to ISC, if you think it's a BIND bug).
>How-To-Repeat:
Install bind96-base* port, then try to build firefox, thunderbird, etc.  Then comment out the silly check and watch the compilation succeed.
>Fix:
Remove the silly check:

--- bsd.gecko.mk.~1~	2009-05-04 15:23:41.000000000 -0400
+++ bsd.gecko.mk	2009-06-27 22:50:59.000000000 -0400
@@ -532,10 +532,10 @@
 	@${REINPLACE_CMD} -e 's|/usr/local/netscape|${LOCALBASE}|g ; \
 		s|/usr/local/lib/netscape|${LOCALBASE}/lib|g' \
 		${WRKSRC}/xpcom/*/SpecialSystemDirectory.cpp
-	@if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \
-		${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \
-		${FALSE}; \
-	fi
+#	@if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \
+#		${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \
+#		${FALSE}; \
+#	fi
 
 # handles mozilla pis scripts.
 gecko-moz-pis-patch:


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



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