aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/fvwm2-devel/Makefile
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2003-04-24 01:29:41 +0800
committercy <cy@FreeBSD.org>2003-04-24 01:29:41 +0800
commit3f90f0bb27dce59f538bbf9cfe318e8670ac70cf (patch)
tree814191ee24b9bbfd2983dd02eb5668ac2779bc42 /x11-wm/fvwm2-devel/Makefile
parentcabd6bdf69e19cfd758c9142f26722027f440d03 (diff)
downloadfreebsd-ports-gnome-3f90f0bb27dce59f538bbf9cfe318e8670ac70cf.tar.gz
freebsd-ports-gnome-3f90f0bb27dce59f538bbf9cfe318e8670ac70cf.tar.zst
freebsd-ports-gnome-3f90f0bb27dce59f538bbf9cfe318e8670ac70cf.zip
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 3543042634a8..f1fdd750e14e 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}!=""