diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-03-25 01:20:48 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-03-25 01:20:48 +0800 |
commit | 617ef11624b98d83ab0b79ea5243cbed6f682d9e (patch) | |
tree | 63e2b6370011468d5cd0be71476580383820a37a /Mk | |
parent | 1d433261659215bea5a4b868bb5cded176ce48db (diff) | |
download | marcuscom-ports-617ef11624b98d83ab0b79ea5243cbed6f682d9e.tar marcuscom-ports-617ef11624b98d83ab0b79ea5243cbed6f682d9e.tar.gz marcuscom-ports-617ef11624b98d83ab0b79ea5243cbed6f682d9e.tar.bz2 marcuscom-ports-617ef11624b98d83ab0b79ea5243cbed6f682d9e.tar.lz marcuscom-ports-617ef11624b98d83ab0b79ea5243cbed6f682d9e.tar.xz marcuscom-ports-617ef11624b98d83ab0b79ea5243cbed6f682d9e.tar.zst marcuscom-ports-617ef11624b98d83ab0b79ea5243cbed6f682d9e.zip |
Add a new knob, MARCUSCOM_CVS. It makes easier for us to edit a line by disable
MARCUSCOM_CVS=yes before we merge into FreeBSD ports.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10835 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.gnome.mk | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk index e50780b69..323b3f1c5 100644 --- a/Mk/bsd.gnome.mk +++ b/Mk/bsd.gnome.mk @@ -3,10 +3,16 @@ # # $FreeBSD$ # $NetBSD: $ -# $MCom: ports/Mk/bsd.gnome.mk,v 1.448 2008/03/24 14:58:13 ahze Exp $ +# $MCom: ports/Mk/bsd.gnome.mk,v 1.449 2008/03/24 16:35:52 mezz Exp $ # # Please view me with 4 column tabs! +####################################################### +# +# *** WARNING: Disable MARCUSCOM before merge in FreeBSD! +# +MARCUSCOM_CVS=yes + .if !defined(_POSTMKINCLUDED) && !defined(Gnome_Pre_Include) # Please make sure all changes to this file are passed through the maintainer. @@ -519,13 +525,11 @@ gvfs_DETECT= ${LOCALBASE}/lib/libgvfscommon.so gvfs_LIB_DEPENDS= gvfscommon.0:${PORTSDIR}/devel/gvfs gvfs_USE_GNOME_IMPL= glib20 gconf2 -######## -#### NOTE: DO NOT COMMIT THIS NEXT PART TO THE MAIN FREEBSD REPO -######## -.if exists(${PORTSDIR}/Mk/bsd.gnome-experimental.mk) +.if defined(MARCUSCOM_CVS) +. if exists(${PORTSDIR}/Mk/bsd.gnome-experimental.mk) .include "${PORTSDIR}/Mk/bsd.gnome-experimental.mk" +. endif .endif -# end part you shouldn't commit. # End component definition section @@ -712,21 +716,22 @@ ltasneededhack_PRE_PATCH= if [ -f ${WRKDIR}/gnome-libtool ]; then \ .ifdef _USE_GNOME . if ${USE_GNOME:Mltverhack}!= "" || ${USE_GNOME:Mltasneededhack}!= "" GNOME_PRE_PATCH+= ${lthacks_PRE_PATCH} -.endif +. endif . for component in ${_USE_GNOME_ALL} . if ${_USE_GNOME:M${component}}!="" PATCH_DEPENDS+= ${${component}_PATCH_DEPENDS} FETCH_DEPENDS+= ${${component}_FETCH_DEPENDS} EXTRACT_DEPENDS+=${${component}_EXTRACT_DEPENDS} BUILD_DEPENDS+= ${${component}_BUILD_DEPENDS} -####################################################### -# -# *** WARNING: Remove NODEPENDS before merge in FreeBSD. -# -.if !defined(NODEPENDS) +. if defined(MARCUSCOM_CVS) +. if !defined(NODEPENDS) LIB_DEPENDS+= ${${component}_LIB_DEPENDS} RUN_DEPENDS+= ${${component}_RUN_DEPENDS} -.endif +. endif +. else +LIB_DEPENDS+= ${${component}_LIB_DEPENDS} +RUN_DEPENDS+= ${${component}_RUN_DEPENDS} +. endif .if !defined(WITHOUT_HACK) .if defined(${component}_PREFIX) |