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:
parent
e3600bc45f
commit
7585f57b9c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79530
@ -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}!=""
|
||||
|
Loading…
Reference in New Issue
Block a user