ports/97177: [patch] chinese/qterm cannot be compiled

Yuan at FreeBSD.org Yuan at FreeBSD.org
Fri May 12 15:50:25 UTC 2006


>Number:         97177
>Category:       ports
>Synopsis:       [patch] chinese/qterm cannot be compiled
>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 May 12 15:50:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Yuan, Jue
>Release:        FreeBSD 6.0-RELEASE
>Organization:
Tsinghua University, Beijing, China
>Environment:
FreeBSD yuanjue.net 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Tue Nov  8 15:38:43 CST 2005     YuanJue:/usr/obj/usr/src/sys/MYKERNEL  i386
>Description:
chinese/qterm in ports tree cannot be compiled.

libtool: link: cannot find the library `'
*** Error code 1

Problem comes from the big change in libtool.

Add 
USE_AUTOTOOLS=	libtool:15
to Makefile could solve this problem.

Then, after compilation and installation successfully, system will complain that /usr/local/bin/qterm cannot be found. This is because a binary file named "i386-portbld-freebsd6.0-qterm" was installed rather than "qterm" ifself.

Add
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
to Makefile could solve this problem.
>How-To-Repeat:
cd /usr/port/chinese/qterm
make
>Fix:
--- Makefile.orig	Fri May 12 23:35:33 2006
+++ Makefile	Sat May  6 19:59:06 2006
@@ -16,7 +16,9 @@
 COMMENT=	QTerm is a BBS client in Unix
 
 USE_QT_VER=	3
+USE_AUTOTOOLS=	libtool:15
 HAS_CONFIGURE=	yes
+CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ARGS=	--enable-mt --prefix=${PREFIX} \
 		--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
 

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



More information about the freebsd-ports-bugs mailing list