diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:22:56 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:22:56 +0000 |
commit | 7b4c77811e89d7fc1131ca6e63df3e719bc86b1d (patch) | |
tree | 9695733a1620c4c290c86f161a4f1b73160ed39a /x11-toolkits/vdkbuilder/Makefile | |
parent | c76cf46929051f9dd322487d888c82f104026e6d (diff) |
Implement WANT_GNOME.
Notes
Notes:
svn path=/head/; revision=33430
Diffstat (limited to 'x11-toolkits/vdkbuilder/Makefile')
-rw-r--r-- | x11-toolkits/vdkbuilder/Makefile | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/x11-toolkits/vdkbuilder/Makefile b/x11-toolkits/vdkbuilder/Makefile index 722e3123c988..98f6115b35e8 100644 --- a/x11-toolkits/vdkbuilder/Makefile +++ b/x11-toolkits/vdkbuilder/Makefile @@ -14,15 +14,23 @@ MAINTAINER= nakai@FreeBSD.org LIB_DEPENDS= vdk.3:${PORTSDIR}/x11-toolkits/vdk -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - USE_NEWGCC= yes USE_GMAKE= yes USE_X_PREFIX= yes +USE_GTK= yes +WANT_GNOME= yes +USE_LIBTOOL= yes INSTALLS_SHLIB= yes -GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - GTK_CONFIG="${GTK_CONFIG}" \ LIBS="-L${LOCALBASE}/lib -lgnuregex" -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if defined(HAVE_GNOME) +USE_GNOME= yes +CONFIGURE_ARGS+=--enable-gnome +.else +CONFIGURE_ARGS+=--enable-gnome=no +.endif + +.include <bsd.port.post.mk> |