ports/58424: audio/gqradio: fix libintl and libiconv depedencies => avoid conflicts with other ports

Simon Barner barner at in.tum.de
Thu Oct 23 13:10:33 UTC 2003


>Number:         58424
>Category:       ports
>Synopsis:       audio/gqradio:  fix libintl and libiconv depedencies => avoid conflicts with other ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 23 06:10:29 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Simon Barner
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD zi025.glhnet.mhn.de 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #1: Thu Sep 4 20:49:53 CEST 2003 simon at zi025.glhnet.mhn.de:/usr/src/sys/compile/KISTE i386

>Description:

This port did not pick up the two libraries mentioned. In order to get
libintl working, I used the patch I found at 
        
ports/audio/gqmpeg/files/patch-aclocal.m4

(somebody in an archived mail suggested to look for existing patches that
solve that gettext problem).

One possitive side effect of getting the libintl dependency right, is
that the port does not build its included version of the gettext library and
does not install those two .alias that were conflicting with other ports 
(have a look at the pkg-plist diff and you'll see what I mean)

http://freebsd.rambler.ru/bsdmail/freebsd-ports_2003/msg08919.html
        
>How-To-Repeat:
>Fix:

diff -ruN gqradio/Makefile gqradio.patched/Makefile
--- gqradio/Makefile	Wed Jun 25 17:32:18 2003
+++ gqradio.patched/Makefile	Thu Oct 23 14:41:50 2003
@@ -14,11 +14,16 @@
 MAINTAINER=	stefan.jahn at nemesis-sektor.de
 COMMENT=	GTK based FM tuner
 
+LIB_DEPENDS=	intl.5:${PORTSDIR}/devel/gettext \
+		iconv.3:${PORTSDIR}/converters/libiconv
+
 USE_X_PREFIX=	yes
+USE_AUTOCONF=	yes
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 WANT_GNOME=	yes
 USE_GNOME=	gtk12 gdkpixbuf
+CONFIGURE_ARGS=	"--with-libintl-prefix=${LOCALBASE}"
 CONFIGURE_ENV=	LIBS=-L${LOCALBASE}/lib \
 		CPPFLAGS=-I${LOCALBASE}/include
 
diff -ruN gqradio/pkg-plist gqradio.patched/pkg-plist
--- gqradio/pkg-plist	Thu Jun 19 01:45:44 2003
+++ gqradio.patched/pkg-plist	Thu Oct 23 14:47:54 2003
@@ -1,5 +1,4 @@
 %%GNOME:%%share/pixmaps/gqradio.png
-share/locale/locale.alias
 share/gqradio/skins/default/slider-pos-14h.png
 share/gqradio/skins/default/skindata_submenu
 share/gqradio/skins/default/skindata_presets_advanced
@@ -49,7 +48,6 @@
 share/gqradio/skins/SKIN-SPECS
 share/gqradio/skins/README
 %%GNOME:%%share/gnome/apps/Multimedia/gqradio.desktop
-lib/charset.alias
 bin/gqradio
 @dirrm share/gqradio/skins/default
 @dirrm share/gqradio/skins
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list