Date: Tue, 22 Apr 2008 09:52:24 GMT From: Hiroto Kagotani <hiroto.kagotani@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/122983: graphics/djvulibre: does not compile Message-ID: <200804220952.m3M9qOX4029349@www.freebsd.org> Resent-Message-ID: <200804221000.m3MA027W019733@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804220952.m3M9qOX4029349>