- 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
COMMENT= Supportive tools for Chinese docproj build
LIB_DEPENDS= iconv:${PORTSDIR}/converters/libiconv
RUN_DEPENDS= gbklatex:${PORTSDIR}/chinese/CJK
USE_ICONV= yes
WRKSRC= ${WRKDIR}/src
SRC= ${.CURDIR}/src

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -112,7 +112,7 @@ MAKE_ENV+= XALAN_USE_ICU=1
MAKE_ENV+= ICUROOT=${ICUROOT}
PLIST_SUB+= ICUDEP=""
.else
LIB_DEPENDS+= iconv:${PORTSDIR}/converters/libiconv
USE_ICONV= yes
CONFIGURE_ENV+= LDFLAGS='-L${LOCALBASE}/lib -liconv'
MAKE_ENV+= LDFLAGS='-L${LOCALBASE}/lib -liconv'
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
COMMENT= A GTK Widget to Render MathML Documents
LIB_DEPENDS= iconv:${PORTSDIR}/converters/libiconv \
t1:${PORTSDIR}/devel/t1lib \
LIB_DEPENDS= t1:${PORTSDIR}/devel/t1lib \
xml2.5:${PORTSDIR}/textproc/libxml2 \
gmetadom_gdome_cpp_smart:${PORTSDIR}/textproc/gmetadom \
popt.0:${PORTSDIR}/devel/popt \
xslt.2:${PORTSDIR}/textproc/libxslt
USE_GETOPT_LONG= yes
USE_ICONV= yes
USE_X_PREFIX= yes
USE_GNOME= glib20 gtk20 gnomehack
USE_AUTOTOOLS= libtool:15

View File

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

View File

@ -15,8 +15,7 @@ MASTER_SITE_SUBDIR= gswitchit
MAINTAINER= gnome@FreeBSD.org
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_X_PREFIX= yes
USE_GMAKE= yes