convert libiconv to new wantlib

This commit is contained in:
espie 2010-11-06 10:18:38 +00:00
parent 4ca14c8052
commit dcdfee948c
17 changed files with 59 additions and 43 deletions

View File

@ -1,10 +1,13 @@
# $OpenBSD: libiconv.port.mk,v 1.4 2008/10/12 08:52:03 espie Exp $
# $OpenBSD: libiconv.port.mk,v 1.5 2010/11/06 10:18:39 espie Exp $
# The RUN_DEPENDS entry is to ensure libiconv is installed. This is
# necessary so that we have charset.alias installed on static archs.
# Typically installed in PREFIX/lib.
MODLIBICONV_LIB_DEPENDS = iconv.>=2::converters/libiconv
MODLIBICONV_LIB_DEPENDS = ::converters/libiconv
MODLIBICONV_RUN_DEPENDS = :libiconv-*:converters/libiconv
MODLIBICONV_WANTLIB = iconv.>=2
LIB_DEPENDS += ${MODLIBICONV_LIB_DEPENDS}
RUN_DEPENDS += ${MODLIBICONV_RUN_DEPENDS}
WANTLIB += ${MODLIBICONV_WANTLIB}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.12 2010/10/24 21:06:36 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.13 2010/11/06 10:18:38 espie Exp $
COMMENT-main= read and convert Microsoft Outlook mail files
COMMENT-python= python interface to libpst
@ -22,6 +22,9 @@ PERMIT_DISTFILES_FTP= Yes
WANTLIB-main += c expat fontconfig freetype jpeg m png pthread stdc++
WANTLIB-main += z
WANTLIB-main += gd.>=20 ${MODLIBICONV_WANTLIB}
WANTLIB-python += pst.>=1 boost_python.>=1 ${MODLIBICONV_WANTLIB}
MASTER_SITES= ${HOMEPAGE}/packages/
@ -33,11 +36,11 @@ MODULES= converters/libiconv \
BUILD_DEPENDS= ${RUN_DEPENDS-main}
RUN_DEPENDS-main= ::graphics/ImageMagick
LIB_DEPENDS-main= ${MODLIBICONV_LIB_DEPENDS} \
gd.>=20::graphics/gd
::graphics/gd
LIB_DEPENDS-python= ${MODLIBICONV_LIB_DEPENDS} \
pst.>=1::${BASE_PKGPATH} \
boost_python.>=1::devel/boost
::${BASE_PKGPATH} \
::devel/boost
USE_LIBTOOL= Yes
USE_GMAKE= Yes

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2010/10/18 17:06:07 espie Exp $
# $OpenBSD: Makefile,v 1.11 2010/11/06 10:18:38 espie Exp $
COMMENT-main = little brother's database, email address query tools
COMMENT-ldap = LDAP support for lbdb
@ -27,8 +27,9 @@ RUN_DEPENDS-ldap = ::databases/p5-ldap \
:${PKGNAME-main}:databases/lbdb
MODULES = converters/libiconv
WANTLIB-main = c
WANTLIB-main = c ${MODLIBICONV_WANTLIB}
LIB_DEPENDS-ldap =
WANTLIB-ldap =
MASTER_SITES = http://www.spinnaker.de/debian/

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.21 2010/11/03 22:13:38 kili Exp $
# $OpenBSD: Makefile,v 1.22 2010/11/06 10:18:38 espie Exp $
COMMENT-main = liberalised reimplementation of cpp in Haskell
COMMENT-lib = cpphs library
@ -35,6 +35,7 @@ MODGHC_BUILD = cabal haddock register
LIB_DEPENDS-main = ${LIB_DEPENDS} ::devel/gmp
RUN_DEPENDS-main =
LIB_DEPENDS-lib =
WANTLIB-lib =
.else
# NHC: use the good old makefile for now (though it *should* be possible
# to build with cabal, too).

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.72 2010/11/05 08:23:04 bernd Exp $
# $OpenBSD: Makefile,v 1.73 2010/11/06 10:18:38 espie Exp $
COMMENT-main = GIT - Tree History Storage Tool
COMMENT-svn = GIT - subversion interoperability tools
@ -41,7 +41,7 @@ BUILD_DEPENDS = ::archivers/gtar \
MULTI_PACKAGES = -main -svn -x11
WANTLIB-main = c expat crypto curl ssl z
WANTLIB-main = c expat crypto curl ssl z ${MODLIBICONV_WANTLIB}
RUN_DEPENDS-main = ::net/rsync \
::devel/p5-Error \
:cvsps-*:devel/cvsps \
@ -55,11 +55,13 @@ RUN_DEPENDS-svn = ::${BASE_PKGPATH} \
::www/p5-URI \
::www/p5-libwww
LIB_DEPENDS-svn =
WANTLIB-svn =
PKG_ARCH-svn = *
RUN_DEPENDS-x11 = ::${BASE_PKGPATH},-main \
${MODTK_RUN_DEPENDS}
LIB_DEPENDS-x11 =
WANTLIB-x11 =
PKG_ARCH-x11 = *
MAKE_ENV = prefix=${PREFIX} CC="${CC}" CFLAGS="${CFLAGS}" V=1 \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.24 2010/11/03 22:13:38 kili Exp $
# $OpenBSD: Makefile,v 1.25 2010/11/06 10:18:38 espie Exp $
COMMENT-main = documentation-generation tool for Haskell libraries
COMMENT-lib = haddock library
@ -34,7 +34,9 @@ LIB_DEPENDS-lib =
LIB_DEPENDS-main = ${LIB_DEPENDS} \
::devel/gmp
WANTLIB-main = c gmp m pthread util
WANTLIB-lib =
WANTLIB-main = ${WANTLIB} \
c gmp m pthread util
BUILD_DEPENDS += ::devel/alex \
::devel/happy \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2010/10/19 19:46:12 naddy Exp $
# $OpenBSD: Makefile,v 1.5 2010/11/06 10:18:38 espie Exp $
ONLY_FOR_ARCHS = ${GCC4_ARCHS}
SYSV = 4.2.1
@ -37,9 +37,10 @@ MULTI_PACKAGES = -main -lib
MODULES = converters/libiconv
WANTLIB-main = c iberty gmp
WANTLIB-main = ${MODLIBICONV_WANTLIB} c iberty gmp
LIB_DEPENDS-main = mpfr::devel/mpfr \
${MODLIBICONV_LIB_DEPENDS}
WANTLIB-lib =
LIB_DEPENDS-lib =
RUN_DEPENDS-main = ::${BASE_PKGPATH},-lib

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.46 2010/11/05 21:23:46 kili Exp $
# $OpenBSD: Makefile,v 1.47 2010/11/06 10:18:38 espie Exp $
COMMENT-main = compiler for the functional language Haskell
COMMENT-doc = documentation for GHC
@ -37,9 +37,10 @@ RUN_DEPENDS-doc =
RUN_DEPENDS-main =
REVISION-main = 6
WANTLIB-main = c gmp m ncursesw pthread util
WANTLIB-main = ${WANTLIB} c gmp m ncursesw pthread util
REVISION-doc = 2
WANTLIB-doc =
MASTER_SITES = http://darcs.haskell.org/download/dist/${MODGHC_VER}/ \
${HOMEPAGE}dist/${MODGHC_VER}/ \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2010/10/24 21:24:04 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.5 2010/11/06 10:18:38 espie Exp $
COMMENT-main= object oriented script language with threads
COMMENT-iconv= libiconv interface for ruby
@ -36,7 +36,7 @@ FLAVOR?=
MULTI_PACKAGES= -main -iconv -gdbm
WANTLIB-iconv= c m ruby18
WANTLIB-iconv= ${MODLIBICONV_WANTLIB} c m ruby18
LIB_DEPENDS-iconv= ${MODLIBICONV_LIB_DEPENDS} \
:ruby->=1.8,<=1.9:lang/ruby/${REV},-main
RUN_DEPENDS-iconv= ${MODLIBICONV_RUN_DEPENDS}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.5 2010/10/24 21:24:04 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.6 2010/11/06 10:18:38 espie Exp $
COMMENT-main = object oriented script language with threads
COMMENT-gdbm = gdbm interface for Ruby
@ -30,7 +30,7 @@ MODULES = converters/libiconv
USE_GROFF = Yes
WANTLIB-main = c crypto ffi m ncurses pthread readline ssl termcap \
util yaml z
util yaml z ${MODLIBICONV_WANTLIB}
LIB_DEPENDS-main = ${MODLIBICONV_LIB_DEPENDS} \
::devel/libyaml \
::devel/libffi

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.152 2010/10/18 19:59:15 espie Exp $
# $OpenBSD: Makefile,v 1.153 2010/11/06 10:18:38 espie Exp $
SHARED_ONLY= Yes
@ -39,8 +39,8 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB-server= bz2 c crypto gssapi krb5 ssl z
WANTLIB-sieve= c crypto ssl
WANTLIB-server= ${MODLIBICONV_WANTLIB} bz2 c crypto gssapi krb5 ssl z
WANTLIB-sieve= ${MODLIBICONV_WANTLIB} c crypto ssl
MODULES= converters/libiconv
LIB_DEPENDS+= ::archivers/bzip2

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.75 2010/10/24 21:25:12 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.76 2010/11/06 10:18:38 espie Exp $
CATEGORIES = mail
COMMENT-main = flexible mail transfer agent
@ -29,9 +29,9 @@ MULTI_PACKAGES = -main
MODULES = converters/libiconv
LIB_DEPENDS-main = ${LIB_DEPENDS} pcre::devel/pcre
WANTLIB = c m
WANTLIB-main = ${WANTLIB} crypto perl ssl util wrap
WANTLIB-eximon = ${WANTLIB} X11 Xaw Xext Xmu Xt
cWANTLIB = c m
WANTLIB-main = ${WANTLIB} ${cWANTLIB} crypto perl ssl util wrap
WANTLIB-eximon = ${cWANTLIB} X11 Xaw Xext Xmu Xt
RUN_DEPENDS-eximon = ::${PKGPATH},-main
LIB_DEPENDS-eximon = pcre::devel/pcre

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.23 2010/10/19 21:04:52 naddy Exp $
# $OpenBSD: Makefile,v 1.24 2010/11/06 10:18:38 espie Exp $
COMMENT-main= packet filter statistics visualization
COMMENT-daemon= pfstat daemon
@ -28,9 +28,8 @@ MODULES= converters/libiconv
MULTI_PACKAGES= -main -daemon
WANTLIB-main= c m z jpeg png
LIB_DEPENDS-main= gd.>=20::graphics/gd \
${MODLIBICONV_LIB_DEPENDS}
WANTLIB-main= ${MODLIBICONV_WANTLIB} c m z jpeg png gd.>=20
LIB_DEPENDS-main= ${MODLIBICONV_LIB_DEPENDS} ::graphics/gd
WANTLIB-daemon= c
LIB_DEPENDS-daemon=
RUN_DEPENDS-daemon=

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.38 2010/11/05 13:47:46 espie Exp $
# $OpenBSD: Makefile,v 1.39 2010/11/06 10:18:38 espie Exp $
.include <bsd.own.mk>
COMMENT-main= PDF rendering library
@ -81,7 +81,8 @@ WANTLIB-main= ${cWANTLIB} Xcursor Xext Xfixes Xi Xinerama Xrandr gio-2.0 \
pangocairo-1.0 pangoft2-1.0 pixman-1 gdk_pixbuf-2.0 openjpeg \
X11 Xau Xcomposite Xdamage Xdmcp Xrender cairo pcre png \
pthread-stubs xcb xcb-render xcb-render-util gdk-x11-2.0 lcms
WANTLIB-qt= ${cWANTLIB} lcms openjpeg xml2 poppler png ${MODQT3_WANTLIB}
WANTLIB-qt= ${cWANTLIB} lcms openjpeg xml2 poppler png ${MODQT3_WANTLIB} \
${MODLIBICONV_WANTLIB}
WANTLIB-qt4= ${cWANTLIB} ICE QtCore QtGui QtXml SM X11 Xau Xdmcp Xext Xi \
Xinerama Xrender glib-2.0 gobject-2.0 gthread-2.0 lcms \
openjpeg pcre png poppler pthread-stubs xcb xml2 \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.128 2010/10/24 15:53:55 sthen Exp $
# $OpenBSD: Makefile,v 1.129 2010/11/06 10:18:38 espie Exp $
COMMENT-main= XML parsing library
COMMENT-python= Python bindings for libxml
@ -51,7 +51,7 @@ MODULES+= lang/python
LIB_DEPENDS-python= xml2.>=11::textproc/libxml,-main \
${MODPY_LIB_DEPENDS} \
${MODLIBICONV_LIB_DEPENDS}
WANTLIB-python= m z util ${MODPY_WANTLIB}
WANTLIB-python= m z util ${MODPY_WANTLIB} ${MODLIBICONV_WANTLIB}
FAKE_FLAGS= EXAMPLE_DIR=${PREFIX}/share/examples/libxml2/
.endif

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2010/10/26 12:43:41 sebastia Exp $
# $OpenBSD: Makefile,v 1.5 2010/11/06 10:18:38 espie Exp $
COMMENT-main= Skyrix Object Publishing Environment
COMMENT-mysql= SOPE MySQL adaptor
@ -34,11 +34,12 @@ MULTI_PACKAGES= -main -mysql -postgres
MODULES= converters/libiconv x11/gnustep apache-module
MODGNUSTEP_NEEDS_GUI= No
WANTLIB += m
WANTLIB-main += ${WANTLIB} c pthread crypto ssl z lber ldap xml2
WANTLIB = m
WANTLIB-main = ${WANTLIB} c pthread crypto ssl z lber ldap xml2
WANTLIB-mysql += ${WANTLIB} GDLAccess EOControl mysqlclient crypto ssl z
WANTLIB-postgres += ${WANTLIB} GDLAccess EOControl pq
WANTLIB-mysql = ${MODGNUSTEP_WANTLIB} m GDLAccess EOControl \
mysqlclient crypto ssl z
WANTLIB-postgres = ${MODGNUSTEP_WANTLIB} m GDLAccess EOControl pq
LIB_DEPENDS-main= ::x11/gnustep/base \
::databases/openldap \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.21 2010/11/03 22:19:02 kili Exp $
# $OpenBSD: Makefile,v 1.22 2010/11/06 10:18:39 espie Exp $
COMMENT-main = tiling window manager
COMMENT-lib = libraries for runtime configuration
@ -19,7 +19,8 @@ PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB-main = X11 Xext Xinerama c gmp m pthread util
WANTLIB-main = ${WANTLIB} X11 Xext Xinerama c gmp m pthread util
WANTLIB-lib =
MODULES = lang/ghc converters/libiconv
MODGHC_BUILD = cabal hackage haddock register