diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-01-10 07:15:21 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-01-10 07:15:21 +0800 |
commit | fadec22332ea870ecb14dacbd912780c45551584 (patch) | |
tree | f58f838b7a6ced63646b92ceec82607f793c09fc /x11-toolkits | |
parent | ae216246b4301bc07381567b56e05343fb5e7d3a (diff) | |
download | freebsd-ports-graphics-fadec22332ea870ecb14dacbd912780c45551584.tar.gz freebsd-ports-graphics-fadec22332ea870ecb14dacbd912780c45551584.tar.zst freebsd-ports-graphics-fadec22332ea870ecb14dacbd912780c45551584.zip |
Rework oprional dependency mechanism, so that it always produces -gnome
version of the package on bento.
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/rep-gtk/Makefile | 8 | ||||
-rw-r--r-- | x11-toolkits/rep-gtk2/Makefile | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/x11-toolkits/rep-gtk/Makefile b/x11-toolkits/rep-gtk/Makefile index f01992c042c..8a10e0911c2 100644 --- a/x11-toolkits/rep-gtk/Makefile +++ b/x11-toolkits/rep-gtk/Makefile @@ -27,10 +27,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/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= --with-gnome --with-libglade --with-gdk-pixbuf \ --with-gnome-canvas-pixbuf diff --git a/x11-toolkits/rep-gtk2/Makefile b/x11-toolkits/rep-gtk2/Makefile index f01992c042c..8a10e0911c2 100644 --- a/x11-toolkits/rep-gtk2/Makefile +++ b/x11-toolkits/rep-gtk2/Makefile @@ -27,10 +27,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/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= --with-gnome --with-libglade --with-gdk-pixbuf \ --with-gnome-canvas-pixbuf |