- Use USE_ICONV instead of LIB_DEPENDS

Approved by:	portmgr (erwin, few weeks ago)
This commit is contained in:
Rong-En Fan 2007-01-12 09:12:57 +00:00
parent 868910fb14
commit 3c089c162b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182166
11 changed files with 18 additions and 19 deletions

View file

@ -21,9 +21,10 @@ DISTFILES= # none
MAINTAINER= delphij@FreeBSD.org MAINTAINER= delphij@FreeBSD.org
COMMENT= Supportive tools for Chinese docproj build COMMENT= Supportive tools for Chinese docproj build
LIB_DEPENDS= iconv:${PORTSDIR}/converters/libiconv
RUN_DEPENDS= gbklatex:${PORTSDIR}/chinese/CJK RUN_DEPENDS= gbklatex:${PORTSDIR}/chinese/CJK
USE_ICONV= yes
WRKSRC= ${WRKDIR}/src WRKSRC= ${WRKDIR}/src
SRC= ${.CURDIR}/src SRC= ${.CURDIR}/src

View file

@ -49,7 +49,7 @@ PORTDOCS= *
.endif .endif
.if defined(WITH_UTF8) .if defined(WITH_UTF8)
LIB_DEPENDS+= iconv:${PORTSDIR}/converters/libiconv USE_ICONV= yes
MAKE_ENV+= "LDFLAGS=-L${LOCALBASE}/lib" MAKE_ENV+= "LDFLAGS=-L${LOCALBASE}/lib"
.else .else
CONFIGURE_ARGS+= --without-iconv CONFIGURE_ARGS+= --without-iconv

View file

@ -15,9 +15,9 @@ DISTNAME= linm_${LINM_VER}-1
MAINTAINER= cjh@FreeBSD.org MAINTAINER= cjh@FreeBSD.org
COMMENT= Clone of Mdir, mc-style terminal file manager COMMENT= Clone of Mdir, mc-style terminal file manager
LIB_DEPENDS= iconv:${PORTSDIR}/converters/libiconv
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config
USE_ICONV= yes
USE_OPENSSL= yes USE_OPENSSL= yes
USE_GMAKE= yes USE_GMAKE= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes

View file

@ -21,10 +21,10 @@ LIB_DEPENDS= xmlparse:${PORTSDIR}/www/libwww \
Hermes:${PORTSDIR}/graphics/Hermes \ Hermes:${PORTSDIR}/graphics/Hermes \
png:${PORTSDIR}/graphics/png \ png:${PORTSDIR}/graphics/png \
jpeg:${PORTSDIR}/graphics/jpeg \ jpeg:${PORTSDIR}/graphics/jpeg \
ungif:${PORTSDIR}/graphics/libungif \ ungif:${PORTSDIR}/graphics/libungif
iconv:${PORTSDIR}/converters/libiconv
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
USE_ICONV= yes
USE_X_PREFIX= yes USE_X_PREFIX= yes
USE_XPM= yes USE_XPM= yes

View file

@ -52,8 +52,8 @@ CONFIGURE_ARGS+= --with-wx-config=false --without-x
.endif .endif
.if !defined(WITHOUT_X11) .if !defined(WITHOUT_X11)
LIB_DEPENDS+= iconv:${PORTSDIR}/converters/libiconv \ USE_ICONV= yes
jpeg:${PORTSDIR}/graphics/jpeg \ LIB_DEPENDS+= jpeg:${PORTSDIR}/graphics/jpeg \
glut:${PORTSDIR}/graphics/libglut glut:${PORTSDIR}/graphics/libglut
.endif .endif

View file

@ -111,8 +111,8 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-2.6.2-ekpstm \
.elif ${DIST_TYPE} == cups .elif ${DIST_TYPE} == cups
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-2.6.2-ekpstm \ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-2.6.2-ekpstm \
${FILESDIR}/extra-patch-2.6.2-src-cups ${FILESDIR}/extra-patch-2.6.2-src-cups
LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base \ LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
iconv.3:${PORTSDIR}/converters/libiconv USE_ICONV= yes
.else .else
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-2.6.2-common \ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-2.6.2-common \
${FILESDIR}/extra-patch-2.6.2-src \ ${FILESDIR}/extra-patch-2.6.2-src \
@ -122,8 +122,8 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-2.6.2-common \
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-2.6.2-ekpstm::main.c EXTRA_PATCHES+= ${FILESDIR}/extra-patch-2.6.2-ekpstm::main.c
.endif .endif
BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf253:${PORTSDIR}/devel/autoconf253 BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf253:${PORTSDIR}/devel/autoconf253
LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base \ LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
iconv.3:${PORTSDIR}/converters/libiconv USE_ICONV= yes
.endif .endif
.if ${OSVERSION} < 500000 .if ${OSVERSION} < 500000
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \ LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \

View file

@ -14,11 +14,10 @@ MASTER_SITE_SUBDIR= wvware
MAINTAINER= lofi@freebsd.org MAINTAINER= lofi@freebsd.org
COMMENT= A library providing routines to access Microsoft Word files COMMENT= A library providing routines to access Microsoft Word files
LIB_DEPENDS= iconv:${PORTSDIR}/converters/libiconv
CONFIGURE_ARGS= --with-libiconv=${LOCALBASE} --disable-debug CONFIGURE_ARGS= --with-libiconv=${LOCALBASE} --disable-debug
USE_GNOME= gnometarget libgsf USE_GNOME= gnometarget libgsf
USE_ICONV= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
USE_BZIP2= yes USE_BZIP2= yes
USE_GMAKE= yes USE_GMAKE= yes

View file

@ -112,7 +112,7 @@ MAKE_ENV+= XALAN_USE_ICU=1
MAKE_ENV+= ICUROOT=${ICUROOT} MAKE_ENV+= ICUROOT=${ICUROOT}
PLIST_SUB+= ICUDEP="" PLIST_SUB+= ICUDEP=""
.else .else
LIB_DEPENDS+= iconv:${PORTSDIR}/converters/libiconv USE_ICONV= yes
CONFIGURE_ENV+= LDFLAGS='-L${LOCALBASE}/lib -liconv' CONFIGURE_ENV+= LDFLAGS='-L${LOCALBASE}/lib -liconv'
MAKE_ENV+= LDFLAGS='-L${LOCALBASE}/lib -liconv' MAKE_ENV+= LDFLAGS='-L${LOCALBASE}/lib -liconv'
PLIST_SUB+= ICUDEP="@comment " PLIST_SUB+= ICUDEP="@comment "

View file

@ -14,14 +14,14 @@ MASTER_SITES= http://helm.cs.unibo.it/mml-widget/sources/
MAINTAINER= yinjieh@csie.nctu.edu.tw MAINTAINER= yinjieh@csie.nctu.edu.tw
COMMENT= A GTK Widget to Render MathML Documents COMMENT= A GTK Widget to Render MathML Documents
LIB_DEPENDS= iconv:${PORTSDIR}/converters/libiconv \ LIB_DEPENDS= t1:${PORTSDIR}/devel/t1lib \
t1:${PORTSDIR}/devel/t1lib \
xml2.5:${PORTSDIR}/textproc/libxml2 \ xml2.5:${PORTSDIR}/textproc/libxml2 \
gmetadom_gdome_cpp_smart:${PORTSDIR}/textproc/gmetadom \ gmetadom_gdome_cpp_smart:${PORTSDIR}/textproc/gmetadom \
popt.0:${PORTSDIR}/devel/popt \ popt.0:${PORTSDIR}/devel/popt \
xslt.2:${PORTSDIR}/textproc/libxslt xslt.2:${PORTSDIR}/textproc/libxslt
USE_GETOPT_LONG= yes USE_GETOPT_LONG= yes
USE_ICONV= yes
USE_X_PREFIX= yes USE_X_PREFIX= yes
USE_GNOME= glib20 gtk20 gnomehack USE_GNOME= glib20 gtk20 gnomehack
USE_AUTOTOOLS= libtool:15 USE_AUTOTOOLS= libtool:15

View file

@ -50,7 +50,7 @@ DISTFILES+= fvwm_icons.tgz
.if defined(WITHOUT_ICONV) .if defined(WITHOUT_ICONV)
CONFIGURE_ARGS+= --disable-iconv CONFIGURE_ARGS+= --disable-iconv
.else .else
LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv USE_ICONV= yes
CONFIGURE_ARGS+= --with-iconv-library=${LOCALBASE}/lib \ CONFIGURE_ARGS+= --with-iconv-library=${LOCALBASE}/lib \
--with-iconv-includes=${LOCALBASE}/include --with-iconv-includes=${LOCALBASE}/include
.endif .endif

View file

@ -15,8 +15,7 @@ MASTER_SITE_SUBDIR= gswitchit
MAINTAINER= gnome@FreeBSD.org MAINTAINER= gnome@FreeBSD.org
COMMENT= A little set of XML files useful for dealing with XKB rules COMMENT= A little set of XML files useful for dealing with XKB rules
LIB_DEPENDS= iconv:${PORTSDIR}/converters/libiconv USE_ICONV= yes
USE_GETTEXT= yes USE_GETTEXT= yes
USE_X_PREFIX= yes USE_X_PREFIX= yes
USE_GMAKE= yes USE_GMAKE= yes