diff options
author | hubertf <hubertf> | 2001-10-17 18:35:42 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2001-10-17 18:35:42 +0000 |
commit | 96fd475bf7a76e1eb42f62abf9c7e1431d5566f6 (patch) | |
tree | ac8c70ca4a3e9126d70fb838db0f45e53a6ce69d /Packages.txt | |
parent | 13f9828c29a12711ac43515e1fc6f96ebf0c184a (diff) | |
download | pkgsrc-96fd475bf7a76e1eb42f62abf9c7e1431d5566f6.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.txt | 13 |
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 |