Date: Sun, 24 Apr 2011 08:46:36 +0200 (CEST) From: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/156606: [patch] fix build of textproc/openjade Message-ID: <201104240646.p3O6kakj041838@home3.dinoex.sub.de> Resent-Message-ID: <201104240720.p3O7KBkY013091@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 156606 >Category: ports >Synopsis: [patch] fix build of textproc/openjade >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 24 07:20:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Dirk Meyer >Release: FreeBSD 8.2-RELEASE >Organization: privat >Environment: in /etc/make.conf WITHOUT_NLS=yes >Description: The confuigure scripst detects that gettext is not installed, but it tries still to link against libintl.so Building openjade fails in a clean jail: [...] checking for gettext... no checking for gettext in -lintl... no [...] c++ -O -pipe -I. -I./../include -I/usr/local/include/OpenSP -I/usr/local/include/OpenSP/.. -I./../grove -I./../spgrove -I./../style -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openjade\" -DVERSION=\"1.3.3-pre1\" -DSP_DEFINE_TEMPLATES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=8 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 -DHAVE_DLFCN_H=1 -DDEFAULT_SCHEME_BUILTINS=\"/usr/local/share/sgml/openjade/builtins.dsl\" -o .libs/openjade jade.o SgmlFOTBuilder.o RtfFOTBuilder.o HtmlFOTBuilder.o TeXFOTBuilder.o TransformFOTBuilder.o MifFOTBuilder.o -L/usr/local/lib -lintl ../style/.libs/libostyle! .so -L/media/work/usr/ports/textproc/openjade/work/openjade-1.3.3-pre1/grove -L/media/work/usr/ports/textproc/openjade/work/openjade-1.3.3-pre1/grove/.libs -L/media/work/usr/ports/textproc/openjade/work/openjade-1.3.3-pre1/lib -L/media/work/usr/ports/textproc/openjade/work/openjade-1.3.3-pre1/lib/.libs -L/media/work/usr/ports/textproc/openjade/work/openjade-1.3.3-pre1/spgrove -L/media/work/usr/ports/textproc/openjade/work/openjade-1.3.3-pre1/spgrove/.libs ../spgrove/.libs/libospgrove.so ../grove/.libs/libogrove.so -lm /usr/local/lib/libosp.a -Wl,--rpath -Wl,/usr/local/lib /usr/bin/ld: cannot find -lintl gmake[2]: *** [openjade] Error 1 gmake[2]: Leaving directory `/media/work/usr/ports/textproc/openjade/work/openjade-1.3.3-pre1/jade' gmake[1]: *** [jade] Error 2 gmake[1]: Leaving directory `/media/work/usr/ports/textproc/openjade/work/openjade-1.3.3-pre1' gmake: *** [all] Error 2 *** Error code 1 >How-To-Repeat: Deinstall the gettext port, then type: cd /usr/ports/textproc/openjade && make WITHOUT_NLS=yes >Fix: Apply this patch: Index: Makefile =================================================================== RCS file: /home/pcvs/ports/textproc/openjade/Makefile,v retrieving revision 1.52 diff -u -r1.52 Makefile --- Makefile 30 Mar 2010 08:09:48 -0000 1.52 +++ Makefile 24 Apr 2011 06:35:37 -0000 @@ -21,6 +21,7 @@ USE_GMAKE= yes USE_LDCONFIG= yes USE_PERL5= yes +USE_GETTEXT= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog \ --datadir=${DATADIR} >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104240646.p3O6kakj041838>