Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Mar 2011 14:46:03 +0000 (GMT)
From:      Klaus Aehlig <aehlig@linta.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        devel@stasyan.com, miwi@FreeBSD.org
Subject:   ports/155469: [patch] science/meep missing build dependency gsed
Message-ID:  <20110311144603.62A8739835@kta1c10.sesnet.soton.ac.uk>
Resent-Message-ID: <201103111450.p2BEoAf0038554@freefall.freebsd.org>

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

>Number:         155469
>Category:       ports
>Synopsis:       [patch] science/meep missing build dependency gsed
>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:   Fri Mar 11 14:50:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Klaus Aehlig
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD kta1c10.sesnet.soton.ac.uk 8.2-STABLE FreeBSD 8.2-STABLE #0: Tue Mar 8 20:30:12 GMT 2011 root@kta1c10.kk.soton.ac.uk:/usr/obj/usr/src/sys/KTA1C10 amd64

>Description:
	If built without gsed being installed on the system, science/meep builds and install
	cleanly, HOWEVER, the binary behaves wrongly. Starting meep will result in the
	error message

	ERROR: Unbound variable: Dielectric

	This PR is related to the closed PR ports/146745; note that the patch patch-libctl_Makefile.in
	introduced there contains calls to gsed, but the build dependency on gsed was not registered.
	
>How-To-Repeat:
	On a system *without* gsed installed

	# cd /usr/ports/science/meep && make install clean

	$ /usr/local/bin/meep
>Fix:

	Apply the following patch.

--- meep.diff begins here ---
diff -ruN meep.orig/Makefile meep/Makefile
--- meep.orig/Makefile	2011-03-11 14:36:19.000000000 +0000
+++ meep/Makefile	2011-03-11 14:36:45.000000000 +0000
@@ -27,7 +27,8 @@
 CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" LDFLAGS="${LDFLAGS}"
 
 BUILD_DEPENDS+=	bash:${PORTSDIR}/shells/bash \
-		harminv:${PORTSDIR}/science/harminv
+		harminv:${PORTSDIR}/science/harminv \
+		gsed:${PORTSDIR}/textproc/gsed
 LIB_DEPENDS+=	guile.20:${PORTSDIR}/lang/guile \
 		blas.2:${PORTSDIR}/math/blas \
 		ctl.4:${PORTSDIR}/science/libctl \
--- meep.diff ends here ---


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



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