Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Sep 2010 22:35:02 GMT
From:      Kenji Rikitake <kenji.rikitake@acm.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150495: x11/mlterm build fails on 7.3-RELEASE
Message-ID:  <201009112235.o8BMZ20w005637@www.freebsd.org>
Resent-Message-ID: <201009112240.o8BMe2Ao058940@freefall.freebsd.org>

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

>Number:         150495
>Category:       ports
>Synopsis:       x11/mlterm build fails on 7.3-RELEASE
>Confidential:   no
>Severity:       critical
>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:40:02 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:
Building mlterm fails while building the kiklib;
the system fails to find -lutempter

>How-To-Repeat:
cd /usr/ports/x11/mlterm
make clean
make

>Fix:
libtempter is NOT mandatory for 8.x and before though the port version
can be used.  The attached patch explicitly specifies the dependency to
sysutils/libutempter and solves the problem.


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?201009112235.o8BMZ20w005637>