Bug 122983 - graphics/djvulibre: does not compile
Summary: graphics/djvulibre: does not compile
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: Stanislav Sedov
Depends on:
Reported: 2008-04-22 11:00 UTC by hiroto.kagotani
Modified: 2008-04-23 15:50 UTC (History)
0 users

See Also:

file.diff (362 bytes, patch)
2008-04-22 11:00 UTC, hiroto.kagotani
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hiroto.kagotani 2008-04-22 11:00:02 UTC
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.

Fix: Patch attached with submission follows:
How-To-Repeat: Just portupgrade or portinstall djvulibre.
Comment 1 Edwin Groothuis freebsd_committer 2008-04-22 11:00:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->stas

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2008-04-23 15:44:53 UTC
miwi        2008-04-23 14:44:45 UTC

  FreeBSD ports repository

  Modified files:
    graphics/djvulibre   Makefile 
  - Fix build after xorg cleanup
  PR:             122983
  Submitted by:   Hiroto Kagotani <hiroto.kagotani@gmail.com>, yarodin (via jabber)
  Approved by:    stas (maintainer via irc)
  Revision  Changes    Path
  1.58      +1 -0      ports/graphics/djvulibre/Makefile
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Martin Wilke freebsd_committer 2008-04-23 15:47:35 UTC
State Changed
From-To: open->closed

Committed. Thanks!