pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Make pathnames listed in CONFIG_STATUS_OVERRIDE rel...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/de48455d7df6
branches:  trunk
changeset: 468293:de48455d7df6
user:      seb <seb%pkgsrc.org@localhost>
date:      Thu Feb 12 08:55:33 2004 +0000

description:
Make pathnames listed in CONFIG_STATUS_OVERRIDE relative to WRKSRC.

diffstat:

 devel/gtexinfo/Makefile       |   4 ++--
 games/genecys-client/Makefile |   4 ++--
 mk/bsd.pkg.mk                 |  10 +++++-----
 3 files changed, 9 insertions(+), 9 deletions(-)

diffs (60 lines):

diff -r c9e7ba6b27bc -r de48455d7df6 devel/gtexinfo/Makefile
--- a/devel/gtexinfo/Makefile   Thu Feb 12 08:54:48 2004 +0000
+++ b/devel/gtexinfo/Makefile   Thu Feb 12 08:55:33 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2004/02/11 00:47:20 jlam Exp $
+# $NetBSD: Makefile,v 1.48 2004/02/12 08:55:33 seb Exp $
 
 DISTNAME=              texinfo-4.6
 PKGNAME=               g${DISTNAME}
@@ -16,7 +16,7 @@
 USE_BUILDLINK3=                yes
 USE_PKGLOCALEDIR=      yes
 GNU_CONFIGURE=         yes
-CONFIG_STATUS_OVERRIDE=        ${WRKSRC}/config.status
+CONFIG_STATUS_OVERRIDE=        config.status
 
 INFO_FILES=            info-stnd.info info.info texinfo
 TEST_TARGET=           check
diff -r c9e7ba6b27bc -r de48455d7df6 games/genecys-client/Makefile
--- a/games/genecys-client/Makefile     Thu Feb 12 08:54:48 2004 +0000
+++ b/games/genecys-client/Makefile     Thu Feb 12 08:55:33 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/02/10 22:02:57 garbled Exp $
+# $NetBSD: Makefile,v 1.2 2004/02/12 08:55:34 seb Exp $
 #
 
 DISTNAME=              genecys-0.1
@@ -17,7 +17,7 @@
 CONFIGURE_DIRS=                ${WRKSRC}/common ${WRKSRC}/client
 BUILD_DIRS=            ${WRKSRC}/common ${WRKSRC}/client
 LIBS+=                 -lm
-CONFIG_STATUS_OVERRIDE=        ${WRKSRC}/common/config.status ${WRKSRC}/client/config.status
+CONFIG_STATUS_OVERRIDE=        common/config.status client/config.status
 
 .include "../../graphics/cal3d/buildlink3.mk"
 .include "../../graphics/OpenRM/buildlink3.mk"
diff -r c9e7ba6b27bc -r de48455d7df6 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Thu Feb 12 08:54:48 2004 +0000
+++ b/mk/bsd.pkg.mk     Thu Feb 12 08:55:33 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1386 2004/02/11 10:34:05 xtraeme Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1387 2004/02/12 08:55:34 seb Exp $
 #
 # This file is in the public domain.
 #
@@ -2447,10 +2447,10 @@
 do-config-status-override:      
 .  for file in ${CONFIG_STATUS_OVERRIDE}  
        ${_PKG_SILENT}${_PKG_DEBUG}                                     \
-       if [ -f ${file} ]; then                                         \
-               ${RM} -f ${file};                                       \
-               ( ${ECHO} '#!${SH}'; ${ECHO} 'exit 0' ) > ${file};      \
-               ${CHMOD} +x ${file};                                    \
+       if [ -f ${WRKSRC}/${file} ]; then                               \
+               ${RM} -f ${WRKSRC}/${file};                             \
+               ( ${ECHO} '#!${SH}'; ${ECHO} 'exit 0' ) > ${WRKSRC}/${file}; \
+               ${CHMOD} +x ${WRKSRC}/${file};                          \
        fi
 .  endfor                       
 .endif 



Home | Main Index | Thread Index | Old Index