ports/150496: x11/mlterm does not find -utempter an cannot build
Kenji Rikitake
kenji.rikitake at acm.org
Sat Sep 11 22:50:02 UTC 2010
>Number: 150496
>Category: ports
>Synopsis: x11/mlterm does not find -utempter an cannot build
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 11 22:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Kenji Rikitake
>Release: 7.3-RELEASE
>Organization:
>Environment:
FreeBSD reseaux.priv.k2r.org 7.3-RELEASE FreeBSD 7.3-RELEASE #20: Tue Jul 13 20:15:53 JST 2010 root at reseaux.priv.k2r.org:/usr/obj/usr/src/sys/RESEAUX i386
>Description:
When building x11/mlterm, it fails because it does not find the libutempter shared library.
>How-To-Repeat:
cd /usr/ports/X11/mlterm
make clean && make
>Fix:
The attached patch mandates dependency to sysutils/libutempter when ${OSVERSION} < 900004. See also ports/149391.
Patch attached with submission follows:
--- Makefile.FCS 2010-07-18 14:32:46.000000000 +0900
+++ Makefile 2010-09-12 07:20:45.000000000 +0900
@@ -82,6 +82,9 @@
.if ${OSVERSION} >= 900004
MAKE_ENV= LIBS_LOCAL=-lutempter
+.else
+MAKE_ENV= LIBS_LOCAL=-L${LOCALBASE}/lib
+LIB_DEPENDS+= utempter.0:${PORTSDIR}/sysutils/libutempter
.endif
USE_LDCONFIG= yes
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list