Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Sep 2010 22:47:31 GMT
From:      Kenji Rikitake <kenji.rikitake@acm.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150496: x11/mlterm does not find -utempter an cannot build
Message-ID:  <201009112247.o8BMlV6X017042@www.freebsd.org>
Resent-Message-ID: <201009112250.o8BMo2hP068367@freefall.freebsd.org>

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

>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@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:



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