1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

1. Fix build error reported by Bento.

2.  Add iconv support.

PR:		50584 (iconv support)
Submitted by:	Shao Zhang <shao@cia.com.au> (iconv support)
This commit is contained in:
Cy Schubert 2003-04-23 17:29:41 +00:00
parent e3600bc45f
commit 7585f57b9c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79530

View File

@ -33,6 +33,7 @@ WANT_GNOME= yes
.include <bsd.port.pre.mk>
GNU_CONFIGURE= yes
CONFIGURE_ENV= X_CFLAGS=-I${LOCALBASE}/include
.if defined(WITH_STROKE)
CONFIGURE_ARGS+= --with-stroke --with-stroke-library=${LOCALBASE}/lib \
@ -53,6 +54,12 @@ CONFIGURE_ARGS+= --with-png --with-png-includes=${LOCALBASE}/include \
--with-png-library=${LOCALBASE}/lib
.endif
.if !defined(WITHOUT_ICONV)
LIB_DEPENDS+= iconv.2:${PORTSDIR}/converters/iconv
CONFIGURE_ARGS+= --with-iconv-lib=/usr/local/lib \
--with-iconv-includes=/usr/local/include
.endif
PLIST_SUB+= FVWM_VERSION="${PORTVERSION}"
.if ${HAVE_GNOME:Mimlib}!=""