pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk GNU_MISSING_OVERRIDE is a list of files relative to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bd5ba840845f
branches:  trunk
changeset: 468310:bd5ba840845f
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Feb 12 13:30:04 2004 +0000

description:
GNU_MISSING_OVERRIDE is a list of files relative to ${WRKSRC} that are
replaced by pkgsrc/mk/gnu-config/missing.  This avoids requiring
autoconf and automake as hidden build dependencies when they're not ever
invoked by the build process.

diffstat:

 mk/bsd.pkg.mk |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 47804fb2bcb9 -r bd5ba840845f mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Thu Feb 12 13:16:02 2004 +0000
+++ b/mk/bsd.pkg.mk     Thu Feb 12 13:30:04 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1389 2004/02/12 13:16:02 jlam Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1390 2004/02/12 13:30:04 jlam Exp $
 #
 # This file is in the public domain.
 #
@@ -2455,6 +2455,18 @@
 .  endfor
 .endif
 
+.if defined(GNU_MISSING_OVERRIDE)
+_CONFIGURE_POSTREQ+=   do-gnu-missing-override
+.PHONY: do-gnu-missing-override
+do-gnu-missing-override:
+.  for file in ${GNU_MISSING_OVERRIDE}
+       ${_PKG_SILENT}${_PKG_DEBUG}${RM} -f ${WRKSRC}/${file}
+       ${_PKG_SILENT}${_PKG_DEBUG}                                     \
+       ${CP} ${_PKGSRCDIR}/mk/gnu-config/missing ${WRKSRC}/${file}
+       ${_PKG_SILENT}${_PKG_DEBUG}${CHMOD} +x ${WRKSRC}/${file}
+.  endfor
+.endif
+
 .PHONY: post-configure
 post-configure: ${_CONFIGURE_POSTREQ}
 



Home | Main Index | Thread Index | Old Index