summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-08-13 13:34:00 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-08-13 13:34:00 +0800
commit3904dd79f7258d498b16687b0441deaf9931bc7d (patch)
treee1f434616a9a8ecd0c3a3e3433492fda0e68a4fa /Mk
parent9868cec92a81a2066e100ed1b366111a5373a348 (diff)
downloadmarcuscom-ports-3904dd79f7258d498b16687b0441deaf9931bc7d.tar
marcuscom-ports-3904dd79f7258d498b16687b0441deaf9931bc7d.tar.gz
marcuscom-ports-3904dd79f7258d498b16687b0441deaf9931bc7d.tar.bz2
marcuscom-ports-3904dd79f7258d498b16687b0441deaf9931bc7d.tar.lz
marcuscom-ports-3904dd79f7258d498b16687b0441deaf9931bc7d.tar.xz
marcuscom-ports-3904dd79f7258d498b16687b0441deaf9931bc7d.tar.zst
marcuscom-ports-3904dd79f7258d498b16687b0441deaf9931bc7d.zip
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
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gnome.mk6
1 files changed, 5 insertions, 1 deletions
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}
#######################################################
#