diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-01-10 07:12:57 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-01-10 07:12:57 +0800 |
commit | ae216246b4301bc07381567b56e05343fb5e7d3a (patch) | |
tree | 22e70960ef4dc28c8265b4589a9ee42cad4806ce /x11-wm | |
parent | 54bda53b740ac357917d3508de3e4f2a57cb7d29 (diff) | |
download | freebsd-ports-gnome-ae216246b4301bc07381567b56e05343fb5e7d3a.tar.gz freebsd-ports-gnome-ae216246b4301bc07381567b56e05343fb5e7d3a.tar.zst freebsd-ports-gnome-ae216246b4301bc07381567b56e05343fb5e7d3a.zip |
Rework optional dependency mechanism, so it's always produces -gnome version
of package on the bento.
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/sawfish/Makefile | 10 | ||||
-rw-r--r-- | x11-wm/sawfish2/Makefile | 10 |
2 files changed, 12 insertions, 8 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: diff --git a/x11-wm/sawfish2/Makefile b/x11-wm/sawfish2/Makefile index b8d81c277e25..2f2fdbf72a45 100644 --- a/x11-wm/sawfish2/Makefile +++ b/x11-wm/sawfish2/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: |