Bug 120178

Summary: [PATCH] graphics/cegui: fix DevIL support and other things
Product: Ports & Packages Reporter: Dmitry Marakasov <amdmi3>
Component: Individual Port(s)Assignee: Oliver Lehmann <oliver>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
cegui.patch none

Description Dmitry Marakasov 2008-01-31 04:10:00 UTC
Currently, CEGUI is quite broken. First, it cannot detect DevIL:

...
checking for ilLoadL in -lIL... no
checking for iluFlipImage in -lILU... yes
...
Building DevIL Image Codec:                   no
...

while it should support it (it's listed in port depends, and actually in most cases cegui will be useless without ability to load images).

Next, on some (most of) installations, there will be hidden dependencies and plist will be incorrect, as configure script may automatically detect, for example, additional XML parsers (libxml, expat, xerces) and build+install additional .so files.

This patch does following:
* Correct CPPFLAGS/LDFLAGS so DevIL is detected properly
* Correct ILvoid in DevIL support code (there's no such type in DevIL, guess cegui is a bit outdated?)
* Add more CONFIGURE_ARGS disabling certain features, as they introduce multiple hidden dependencies and drive plist incorrect
While I'm here:
* Make use of PORTDOCS
* Use SF macro
* Make portlint happy (USE_LDCONFIG and whitespace before end of line in PLIST)
* Update and sort plist
* Bump portrevision
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-01-31 04:10:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->oliver

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-01-31 20:52:43 UTC
oliver      2008-01-31 20:52:38 UTC

  FreeBSD ports repository

  Modified files:
    graphics/cegui       Makefile pkg-plist 
  Log:
  fix DevIL support and other things
  bump PORTREVISION
  
  PR:             120178
  Submitted by:   Dmitry Marakasov <amdmi3@amdmi3.ru>
  
  Revision  Changes    Path
  1.15      +21 -10    ports/graphics/cegui/Makefile
  1.5       +17 -17    ports/graphics/cegui/pkg-plist
_______________________________________________
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 Oliver Lehmann freebsd_committer freebsd_triage 2008-01-31 20:52:52 UTC
State Changed
From-To: open->closed

committed, thanks!