summaryrefslogtreecommitdiff
path: root/Packages.txt
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-10-17 18:35:42 +0000
committerhubertf <hubertf@pkgsrc.org>2001-10-17 18:35:42 +0000
commitfa9bbbad08c22148fa9499e2344169553226351f (patch)
treeac8c70ca4a3e9126d70fb838db0f45e53a6ce69d /Packages.txt
parentf2fc2f6cbe346eeb2d20f3b9c2b273ef71dbb7f8 (diff)
downloadpkgsrc-fa9bbbad08c22148fa9499e2344169553226351f.tar.gz
* Replace BUILD_ROOT with PKGSRCDIR in one example
* Note how to clean-up after unpacking/building another package
Diffstat (limited to 'Packages.txt')
-rw-r--r--Packages.txt13
1 files changed, 10 insertions, 3 deletions
diff --git a/Packages.txt b/Packages.txt
index 2cbd7226e02..9449ff47fa6 100644
--- a/Packages.txt
+++ b/Packages.txt
@@ -1,4 +1,4 @@
-# $NetBSD: Packages.txt,v 1.202 2001/10/15 11:34:20 agc Exp $
+# $NetBSD: Packages.txt,v 1.203 2001/10/17 18:35:42 hubertf Exp $
###########################################################################
==========================
@@ -1878,10 +1878,17 @@ first part of the "do-configure" target pkgsrc/print/ghostscript5 package
(it relies on the jpeg sources being present in source form during the
build):
- if [ ! -e ${BUILD_ROOT}/graphics/jpeg/${WRKDIR:T}/jpeg-6b ]; then \
- cd ../../graphics/jpeg && ${MAKE} extract; \
+ if [ ! -e ${PKGSRCDIR}/graphics/jpeg/${WRKDIR:T}/jpeg-6b ]; then \
+ cd ${PKGSRCDIR}/../../graphics/jpeg && ${MAKE} extract; \
fi
+If you build any other packages that way, please make sure the working
+files are deleted too when this package's working files are cleaned up.
+The easiest way to do so is by adding a pre-clean target:
+
+ pre-clean:
+ cd ${PKGSRCDIR}/../../graphics/jpeg && ${MAKE} clean
+
Please also note the BUILD_USES_MSGFMT and BUILD_USES_GETTEXT_M4 definitions,
which are provided as convenience definitions. The former works out whether
msgfmt(1) is part of the base system, and, if it isn't, installs the