diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-01-09 23:12:57 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-01-09 23:12:57 +0000 |
commit | f8994d9a0b78d135ad889f2ab2cb08681bbc5ae6 (patch) | |
tree | 90717dbce5dfd081c1db2ba323f95e55a7c72f2e /x11-wm/sawfish | |
parent | Fix typo s/WITH_XLIB/USE_XLIB/ (diff) |
Rework optional dependency mechanism, so it's always produces -gnome version
of package on the bento.
Notes
Notes:
svn path=/head/; revision=52833
Diffstat (limited to 'x11-wm/sawfish')
-rw-r--r-- | x11-wm/sawfish/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/x11-wm/sawfish/Makefile b/x11-wm/sawfish/Makefile index b8d81c277e25..2f2fdbf72a45 100644 --- a/x11-wm/sawfish/Makefile +++ b/x11-wm/sawfish/Makefile @@ -32,18 +32,20 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ LIBS="-L${LOCALBASE}/lib" CONFIGURE_TARGET= ${ARCH}-pc-freebsd${OSREL:C/\..*//} +.if defined(PACKAGE_BUILDING) || defined(PARALLEL_PACKAGE_BUILD) +.undef WITHOUT_GNOME +WITH_GNOME= yes +.endif + .include <bsd.port.pre.mk> -.if defined(HAVE_GNOME) || defined(PACKAGE_BUILDING) -.undef WITHOUT_GNOME +.if defined(HAVE_GNOME) USE_GNOME= yes CONFIGURE_ARGS+=--enable-capplet -PLIST_SUB+= GNOME:="" .else CONFIGURE_ARGS+=--disable-capplet \ --disable-gnome-widgets \ --without-gdk-pixbuf -PLIST_SUB+= GNOME:="@comment " .endif pre-patch: |