pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/36563 (Cannot bootstrap pkgsrc on AIX 5.3 (circular dependency w/ patch and digest))
The following reply was made to PR pkg/36563; it has been noted by GNATS.
From: Roland Illig <rillig%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/36563 (Cannot bootstrap pkgsrc on AIX 5.3 (circular dependency
w/ patch and digest))
Date: Fri, 29 Jun 2007 10:10:45 +0200
This is a multi-part message in MIME format.
--------------000306010403080704070201
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Louis Guillaume wrote:
> This is with pkgsrc-2007Q1.
Please try the appended pkgsrc/mk/patch/bsd.patch-vars.mk file.
Roland
--------------000306010403080704070201
Content-Type: text/plain;
name="bsd.patch-vars.mk"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="bsd.patch-vars.mk"
# $NetBSD: bsd.patch-vars.mk,v 1.4 2007/05/25 14:21:32 rillig Exp $
#
# This Makefile fragment is included separately by bsd.pkg.mk and
# defines some variables which must be defined earlier than where
# bsd.patch.mk is included.
#
# The following variables may be set in a package Makefile:
#
# PATCHFILES is a list of distribution patches relative to
# ${_DISTDIR} that are applied first to the package.
#
# PATCHDIR is the location of the pkgsrc patches for the package.
# This defaults to the "patches" subdirectory of the package
# directory.
#
# The following variables may be set by the user:
#
# LOCALPATCHES is the location of local patches that are maintained
# in a directory tree reflecting the same hierarchy as the pkgsrc
# tree, e.g., local patches for www/apache would be found in
# ${LOCALPATCHES}/www/apache. These patches are applied after
# the patches in ${PATCHDIR}.
#
# The default PATCHDIR is currently set in bsd.prefs.mk
#PATCHDIR?= ${.CURDIR}/patches
# Just testing whether the directories exist or not is not enough.
# There may be directories that are empty except for the CVS metafiles.
_ALL_PATCHES= # none
.if defined(PATCHFILES) && !empty(PATCHFILES:M*)
_ALL_PATCHES+= ${PATCHFILES}
USE_TOOLS+= digest:bootstrap
.endif
.if defined(PATCHDIR) && exists(${PATCHDIR})
_ALL_PATCHES+= ${:!echo ${PATCHDIR}/patch-*!:N*/CVS:N*/patch-\*}
USE_TOOLS+= digest:bootstrap
.endif
.if defined(LOCALPATCHES) && exists(${LOCALPATCHES})
_ALL_PATCHES+= ${:!echo ${LOCALPATCHES}/${PKGPATH}/*:N*/CVS:N*/\*}
.endif
.if !empty(_ALL_PATCHES:M*)
USE_TOOLS+= patch
.endif
# These tools are used to output the contents of the distribution patches
# to stdout.
#
.if defined(PATCHFILES)
USE_TOOLS+= cat
. if !empty(PATCHFILES:M*.Z) || !empty(PATCHFILES:M*.gz)
USE_TOOLS+= gzcat
. endif
. if !empty(PATCHFILES:M*.bz2)
USE_TOOLS+= bzcat
. endif
.endif
--------------000306010403080704070201--
Home |
Main Index |
Thread Index |
Old Index