This requires -liconv to load cups.so.

This commit is contained in:
ajacoutot 2012-10-13 08:55:16 +00:00
parent 3453d11c35
commit 223627bc6e

View File

@ -1,11 +1,14 @@
# $OpenBSD: Makefile,v 1.24 2012/08/28 19:11:04 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.25 2012/10/13 08:55:16 ajacoutot Exp $
COMMENT= CUPS bindings for Python
MODPY_EGG_VERSION= 1.9.62
DISTNAME= pycups-${MODPY_EGG_VERSION}
EXTRACT_SUFX= .tar.bz2
PKGNAME= py-cups-${MODPY_EGG_VERSION}
REVISION= 0
CATEGORIES= print
HOMEPAGE= http://cyberelk.net/tim/software/pycups/
@ -21,9 +24,9 @@ PERMIT_DISTFILES_FTP= Yes
WANTLIB += cups pthread ${MODPY_WANTLIB}
MASTER_SITES= http://cyberelk.net/tim/data/pycups/
EXTRACT_SUFX= .tar.bz2
MODULES= lang/python
MODULES= lang/python \
converters/libiconv
LIB_DEPENDS= print/cups,-libs \
${MODPY_LIB_DEPENDS}
@ -32,7 +35,7 @@ CFLAGS+= -I${LOCALBASE}/include -DVERSION=\"${MODPY_EGG_VERSION}\"
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV= PYTHON="${MODPY_BIN}" \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}"
LDFLAGS="${LDFLAGS} -liconv" # cups.so: undefined symbol 'libiconv_open'
NO_REGRESS= Yes