ports/58440: korean/ami: fix libintl dependency => avoid conflicts with other ports

Simon Barner barner at in.tum.de
Thu Oct 23 14:30:18 UTC 2003


>Number:         58440
>Category:       ports
>Synopsis:       korean/ami: fix libintl dependency => 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 07:30:16 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.

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 ami/Makefile ami.patched/Makefile
--- ami/Makefile	Wed Sep 10 14:58:28 2003
+++ ami.patched/Makefile	Thu Oct 23 16:17:06 2003
@@ -17,6 +17,9 @@
 MAINTAINER=	cjh at FreeBSD.org
 COMMENT=	Well-known Korean X11 Input Method
 
+LIB_DEPENDS=	intl.5:${PORTSDIR}/devel/gettext \
+		iconv.3:${PORTSDIR}/converters/libiconv
+
 USE_X_PREFIX=	yes
 USE_GMAKE=	yes
 USE_GNOME=	gtk12 gdkpixbuf
@@ -25,7 +28,7 @@
 CONFIGURE_ARGS=	--with-hangul-keyboard=2 --datadir=${PREFIX}/${DATADIR} \
 		--with-libiconv-prefix=${LOCALBASE} \
 		--with-gdk-pixbuf-prefix=${X11BASE} \
-		--without-included-gettext
+		--with-libintl-prefix=${LOCALBASE}
 DATADIR=	share
 
 .include <bsd.port.pre.mk>
diff -ruN ami/pkg-plist ami.patched/pkg-plist
--- ami/pkg-plist	Wed Aug 13 03:41:54 2003
+++ ami.patched/pkg-plist	Thu Oct 23 16:11:18 2003
@@ -1,7 +1,6 @@
 bin/ami
 bin/hanja_hwp2ami
 bin/wmami
-lib/charset.alias
 share/doc/ami/AUTHORS
 share/doc/ami/ChangeLog
 share/doc/ami/NEWS
@@ -14,6 +13,7 @@
 share/hangul_keyboard/dvorak_3bul_390.kbd
 share/hangul_keyboard/dvorak_3bul_final.kbd
 share/hangul_keyboard/dvorak.map
+share/locale/ko/LC_MESSAGES/ami.mo
 %%DATADIR%%/ami/gtkrc
 %%DATADIR%%/ami/hanja.dic
 %%DATADIR%%/ami/pix/Aqua/AUTHORS
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list