From 3904dd79f7258d498b16687b0441deaf9931bc7d Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 13 Aug 2005 05:34:00 +0000 Subject: Make sure ${LIBTOOL_DEPENDS} is added to PATCH_DEPENDS when using ltverhack. Also, add hooks for FETCH_DEPENDS and EXTRACT_DEPENDS as well. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4483 df743ca5-7f9a-e211-a948-0013205c9059 --- Mk/bsd.gnome.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Mk') diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk index ed5fb5afa..1055793fc 100644 --- a/Mk/bsd.gnome.mk +++ b/Mk/bsd.gnome.mk @@ -3,7 +3,7 @@ # # $FreeBSD$ # $NetBSD: $ -# $MCom: ports/Mk/bsd.gnome.mk,v 1.317 2005/08/12 20:15:30 marcus Exp $ +# $MCom: ports/Mk/bsd.gnome.mk,v 1.318 2005/08/12 20:21:55 marcus Exp $ # # Please view me with 4 column tabs! @@ -643,6 +643,7 @@ BROKEN= "${PORTNAME} uses the ltverhack GNOME component but does not use libtool .endif .endif +ltverhack_PATCH_DEPENDS=${LIBTOOL_DEPENDS} ltverhack_PRE_PATCH+= for file in gnome-ltmain.sh gnome-libtool; do \ if [ -f ${WRKDIR}/$$file ]; then \ ${REINPLACE_CMD} -e \ @@ -657,6 +658,9 @@ ltverhack_PRE_PATCH+= for file in gnome-ltmain.sh gnome-libtool; do \ . for component in ${_USE_GNOME_ALL} _COMP_TEST= ${_USE_GNOME:M${component}} . if ${_COMP_TEST:S/${component}//}!=${_COMP_TEST:S/ / /g} +PATCH_DEPENDS+= ${${component}_PATCH_DEPENDS} +FETCH_DEPENDS+= ${${component}_FETCH_DEPENDS} +EXTRACT_DEPENDS+=${${component}_EXTRACT_DEPENDS} BUILD_DEPENDS+= ${${component}_BUILD_DEPENDS} ####################################################### # -- cgit v1.2.3