Bug 154111 - Fix shlib version of x11-toolkits/irrlicht
Summary: Fix shlib version of x11-toolkits/irrlicht
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: Jose Alonso Cardenas Marquez
Depends on:
Reported: 2011-01-18 12:30 UTC by Pascal Stumpf
Modified: 2011-03-07 23:30 UTC (History)
0 users

See Also:

file.diff (18.88 KB, patch)
2011-01-18 12:30 UTC, Pascal Stumpf
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Stumpf 2011-01-18 12:30:10 UTC
Irrlicht currently has an invalid shlib version (1.7.2). This diff brings version numbering under our own control and enables us to actually use Irrlicht in LIB_DEPENDS, avoiding an ugly hack where one would have to add it to both BUILD_DEPENDS and RUN_DEPENDS. It will probably have to be bumped on each minor release.

Inspired by a suggestion of Matthias Kilian on ports@openbsd.org.

Fix: --- Makefile.orig       2011-01-18 13:07:58.413337109 +0100
+++ Makefile    2011-01-18 13:08:58.843477498 +0100
@@ -7,6 +7,7 @@
 PORTNAME=      supertuxkart
 CATEGORIES=    games
 MASTER_SITES=  SF/supertuxkart/SuperTuxKart/${PORTVERSION}
 EXTRACT_SUFX=  -src.tar.bz2
@@ -16,9 +17,8 @@
 LIB_DEPENDS=   vorbisfile.6:${PORTSDIR}/audio/libvorbis \
                ogg.7:${PORTSDIR}/audio/libogg \
-               fribidi.3:${PORTSDIR}/converters/fribidi
-BUILD_DEPENDS= ${LOCALBASE}/lib/libIrrlicht.so:${PORTSDIR}/x11-toolkits/irrlicht
-RUN_DEPENDS=   ${LOCALBASE}/lib/libIrrlicht.so:${PORTSDIR}/x11-toolkits/irrlicht
+               fribidi.3:${PORTSDIR}/converters/fribidi \
+               Irrlicht.1:${PORTSDIR}/x11-toolkits/irrlicht
 USE_BZIP2=     yes
 USE_GL=                gl glu glut

Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer 2011-01-18 12:30:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->acm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2011-03-07 23:27:05 UTC
acm         2011-03-07 23:26:51 UTC

  FreeBSD ports repository

  Modified files:
    x11-toolkits/irrlicht Makefile 
    x11-toolkits/irrlicht/files patch-source-Irrlicht_Makefile 
  - Install a valid shlib version. No ugly BUILD_DEPENDS entry anymore
  PR:             154111
  Submitted by:   Pascal Stumpf <Pascal.Stumpf __ __ cubes.de>
  Revision  Changes    Path
  1.27      +3 -1      ports/x11-toolkits/irrlicht/Makefile
  1.9       +7 -6      ports/x11-toolkits/irrlicht/files/patch-source-Irrlicht_Makefile
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Jose Alonso Cardenas Marquez freebsd_committer 2011-03-07 23:27:08 UTC
State Changed
From-To: open->closed

- Committed thanks!! :)