pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2008Q1]: pkgsrc Pullup ticket #2421 - requested by he
details: https://anonhg.NetBSD.org/pkgsrc/rev/d962e2f979ea
branches: pkgsrc-2008Q1
changeset: 540421:d962e2f979ea
user: tron <tron%pkgsrc.org@localhost>
date: Tue Jun 17 14:58:14 2008 +0000
description:
Pullup ticket #2421 - requested by he
Fix old-style bulk builds
Revisions pulled up:
- mk/bulk/build 1.104
- pkgtools/pkg_install/Makefile 1.154
---
Module Name: pkgsrc
Committed By: he
Date: Sun Jun 8 21:04:30 UTC 2008
Modified Files:
pkgsrc/mk/bulk: build
pkgsrc/pkgtools/pkg_install: Makefile
Log Message:
Commit two fixes which at least for me appear to be required when
doing an old-style bulk build on 4.0 or older systems:
- in mk/bulk/build, do "make update" instead of "make install + clean"
when installing a new pkg_install
- in pkgtools/pkg_install/Makefile, don't try to use our own
executables (${WORKDIR}/pkg_add/pkg_add etc.) if they don't exist
Discussed with joerg, and even though he's not entirely happy
with the latter change, he didn't appear to have a better suggestion.
This, and putting /usr/pkg/sbin earlier than /usr/sbin in the $PATH
appears to be required to get an old-style bulk build going.
diffstat:
mk/bulk/build | 5 ++---
pkgtools/pkg_install/Makefile | 4 +++-
2 files changed, 5 insertions(+), 4 deletions(-)
diffs (42 lines):
diff -r 8b6f4830edca -r d962e2f979ea mk/bulk/build
--- a/mk/bulk/build Mon Jun 16 09:08:45 2008 +0000
+++ b/mk/bulk/build Tue Jun 17 14:58:14 2008 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: build,v 1.103 2008/01/04 15:49:07 rillig Exp $
+# $NetBSD: build,v 1.103.2.1 2008/06/17 14:58:14 tron Exp $
#
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf%NetBSD.org@localhost>
@@ -232,8 +232,7 @@
echo "build> Updating pkgtools"
( cd "${pkgsrc_dir}/pkgtools/pkg_install" \
&& ${BMAKE} clean \
- && ${BMAKE} install \
- && ${BMAKE} clean
+ && ${BMAKE} update
) || die "Could not update the package tools."
}
}
diff -r 8b6f4830edca -r d962e2f979ea pkgtools/pkg_install/Makefile
--- a/pkgtools/pkg_install/Makefile Mon Jun 16 09:08:45 2008 +0000
+++ b/pkgtools/pkg_install/Makefile Tue Jun 17 14:58:14 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.149 2008/04/03 14:22:26 jlam Exp $
+# $NetBSD: Makefile,v 1.149.2.1 2008/06/17 14:58:14 tron Exp $
# Notes to package maintainers:
#
@@ -53,10 +53,12 @@
# from an older pkg_install might required features of the new program.
#
USE_NATIVE_GCC= yes
+.if exists(${WRKSRC}/add/pkg_add)
PKG_ADD_CMD= ${WRKSRC}/add/pkg_add
PKG_CREATE_CMD= ${WRKSRC}/create/pkg_create
PKG_DELETE_CMD= ${WRKSRC}/delete/pkg_delete
PKG_INFO_CMD= ${WRKSRC}/info/pkg_info
+.endif
CPPFLAGS+= -D_LARGEFILE_SOURCE -D_LARGE_FILES
CPPFLAGS+= -D_FILE_OFFSET_BITS=64
Home |
Main Index |
Thread Index |
Old Index