Bug 156606 - [patch] fix build of textproc/openjade
Summary: [patch] fix build of textproc/openjade
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jun Kuriyama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-24 08:20 UTC by dirk.meyer
Modified: 2011-04-30 03:30 UTC (History)
0 users

See Also:


Attachments
file.diff (477 bytes, patch)
2011-04-24 08:20 UTC, dirk.meyer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description dirk.meyer 2011-04-24 08:20:11 UTC
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

Fix: Apply this patch:
How-To-Repeat: 
	Deinstall the gettext port, then type:
	cd /usr/ports/textproc/openjade && make WITHOUT_NLS=yes
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-04-24 08:20:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kuriyama

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-04-30 03:25:22 UTC
kuriyama    2011-04-30 02:25:08 UTC

  FreeBSD ports repository

  Modified files:
    textproc/openjade    Makefile 
  Log:
  - Fix build with WITHOUT_NLS=yes.
  
  PR:             ports/156606
  Submitted by:   dirk.meyer@dinoex.sub.org
  
  Revision  Changes    Path
  1.53      +2 -1      ports/textproc/openjade/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Jun Kuriyama freebsd_committer freebsd_triage 2011-04-30 03:25:42 UTC
State Changed
From-To: open->closed

Committed, thanks!