summaryrefslogtreecommitdiffstats
path: root/x11-wm/fvwm2-devel/Makefile
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2003-04-23 17:29:41 +0000
committercy <cy@FreeBSD.org>2003-04-23 17:29:41 +0000
commit3f90f0bb27dce59f538bbf9cfe318e8670ac70cf (patch)
tree814191ee24b9bbfd2983dd02eb5668ac2779bc42 /x11-wm/fvwm2-devel/Makefile
parentcabd6bdf69e19cfd758c9142f26722027f440d03 (diff)
downloadFreeBSD-ports-3f90f0bb27dce59f538bbf9cfe318e8670ac70cf.zip
FreeBSD-ports-3f90f0bb27dce59f538bbf9cfe318e8670ac70cf.tar.gz
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)
Diffstat (limited to 'x11-wm/fvwm2-devel/Makefile')
-rw-r--r--x11-wm/fvwm2-devel/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/x11-wm/fvwm2-devel/Makefile b/x11-wm/fvwm2-devel/Makefile
index 3543042..f1fdd75 100644
--- a/x11-wm/fvwm2-devel/Makefile
+++ b/x11-wm/fvwm2-devel/Makefile
@@ -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}!=""
OpenPOWER on IntegriCloud