aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-02-17 12:52:00 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-02-17 12:52:00 +0000
commitc2e5d1e6697736f19c70676632b83fa0fbea6527 (patch)
tree8115d4bced39d1e9c5b1ac5d4b6edf7be600b95b /textproc
parent678793e873296553010f1e9215a4626e9d69ae3a (diff)
downloadports-c2e5d1e6697736f19c70676632b83fa0fbea6527.tar.gz
ports-c2e5d1e6697736f19c70676632b83fa0fbea6527.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/wv/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/textproc/wv/Makefile b/textproc/wv/Makefile
index 420aba8a607b..d5776ad67d63 100644
--- a/textproc/wv/Makefile
+++ b/textproc/wv/Makefile
@@ -23,7 +23,7 @@ USE_GNOME= gnometarget pkgconfig
USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_ARGS= --with-exporter --without-glib --with-libwmf=${LOCALBASE}
+CONFIGURE_ARGS= --with-exporter --with-libwmf=${LOCALBASE}
MAKEFILE= GNUmakefile
INSTALLS_SHLIB= yes
@@ -34,4 +34,11 @@ MLINKS= wvWare.1 wvConvert.1
CPPFLAGS= -I${LOCALBASE}/include/libpng -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
+.if ${MACHINE_ARCH:L} == "amd64"
+USE_GNOME+= glib20
+CONFIGURE_ARGS+= --with-glib
+.else
+CONFIGURE_ARGS+= --without-glib
+.endif
+
.include <bsd.port.mk>