summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2003-04-23 17:29:41 +0000
committerCy Schubert <cy@FreeBSD.org>2003-04-23 17:29:41 +0000
commit7585f57b9caadee9bd3aa3f5f41a222985ce237b (patch)
treed295d5d79b6487f4291897d624f7db58c20deb65 /x11-wm
parentUpdate to 030421. (diff)
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)
Notes
Notes: svn path=/head/; revision=79530
Diffstat (limited to 'x11-wm')
-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}!=""