Rework oprional dependency mechanism, so that it always produces -gnome

version of the package on bento.
This commit is contained in:
Maxim Sobolev 2002-01-09 23:15:21 +00:00
parent f8994d9a0b
commit e572405e97
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52834
2 changed files with 12 additions and 4 deletions

View File

@ -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

View File

@ -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