ports/155469: [patch] science/meep missing build dependency gsed
Klaus Aehlig
aehlig at linta.de
Fri Mar 11 14:50:12 UTC 2011
>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 at 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:
More information about the freebsd-ports-bugs
mailing list