From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 22 10:00:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0EBF1065676 for ; Tue, 22 Apr 2008 10:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6C3738FC20 for ; Tue, 22 Apr 2008 10:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3MA02us019734 for ; Tue, 22 Apr 2008 10:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3MA027W019733; Tue, 22 Apr 2008 10:00:02 GMT (envelope-from gnats) Resent-Date: Tue, 22 Apr 2008 10:00:02 GMT Resent-Message-Id: <200804221000.m3MA027W019733@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hiroto Kagotani Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 895101065677 for ; Tue, 22 Apr 2008 09:52:46 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 6EA648FC1A for ; Tue, 22 Apr 2008 09:52:46 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m3M9qOX7029350 for ; Tue, 22 Apr 2008 09:52:24 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m3M9qOX4029349; Tue, 22 Apr 2008 09:52:24 GMT (envelope-from nobody) Message-Id: <200804220952.m3M9qOX4029349@www.freebsd.org> Date: Tue, 22 Apr 2008 09:52:24 GMT From: Hiroto Kagotani To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/122983: graphics/djvulibre: does not compile X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2008 10:00:02 -0000 >Number: 122983 >Category: ports >Synopsis: graphics/djvulibre: does not compile >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: Tue Apr 22 10:00:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Hiroto Kagotani >Release: 6.3-RELEASE-p1 >Organization: Okayama Univ. >Environment: FreeBSD myhost.mydomain 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0: Wed Feb 20 10:53:26 JST 2008 root@myhost.mydomain:/usr/obj/usr/src/sys/SMP i386 >Description: djvulibre does not compile because LOCALBASE env is not passed to configure. Here is the error message produced during portupgrade. /bin/sh ../../libtool --tag=disable-static --mode=link cc -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_GETOPT_H -I/usr/local/include -DHAVE_CONFIG_H -DNDEBUG -Wall -Wno-non-virtual-dtor -I. -I../.. -I../../gui/shared/res -I../../gui/npsdk -I/usr/local/include nsdejavu.lo -no-undefined -L/lib -R/lib -lSM -lICE -lXt -lXext -lX11 -rpath /usr/local/lib/djvulibre/plugins -module -o nsdejavu.la cc -shared .libs/nsdejavu.o -Wl,--rpath -Wl,/lib -L/lib -lSM -lICE -lXt -lXext -lX11 -Wl,-soname -Wl,nsdejavu.so.0 -o .libs/nsdejavu.so.0 /usr/bin/ld: cannot find -lSM *** Error code 1 Stop in /usr/ports/graphics/djvulibre/work/djvulibre-3.5.20/gui/nsdejavu. >How-To-Repeat: Just portupgrade or portinstall djvulibre. >Fix: Patch attached with submission follows: --- Makefile.orig 2008-04-20 02:50:01.000000000 +0900 +++ Makefile 2008-04-22 18:33:11.000000000 +0900 @@ -26,6 +26,7 @@ TIFF_LIBS="-L${LOCALBASE}/lib -ltiff" \ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ PTHREAD_LIBS="${PTHREAD_LIBS}" \ + LOCALBASE="${LOCALBASE}" \ CXX="${CXX}" CONFIGURE_ARGS= --enable-threads=pthread --enable-shared USE_LDCONFIG= yes >Release-Note: >Audit-Trail: >Unformatted: