diff options
author | jlam <jlam@pkgsrc.org> | 2004-10-07 02:01:37 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-10-07 02:01:37 +0000 |
commit | c83f47a4c9ec7ce3bb535777b59820a9a7479cb8 (patch) | |
tree | 15912261de9f656cabfa82bfc7708e5e4ee1ae67 /emulators | |
parent | a57c944c01a8d7eaa7989f88b72fa9b36a077982 (diff) | |
download | pkgsrc-c83f47a4c9ec7ce3bb535777b59820a9a7479cb8.tar.gz |
* Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR,
as it's only used internally by bsd.prefs.mk.
* Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR.
Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile
than the old method of stripping off the last two components of
${.CURDIR}. PKGSRCDIR may now be used after bsd.prefs.mk is defined.
* Change all references to _PKGSRCDIR to PKGSRCDIR.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/suse91_linux/Makefile.common | 4 | ||||
-rw-r--r-- | emulators/suse_linux/Makefile.common | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/emulators/suse91_linux/Makefile.common b/emulators/suse91_linux/Makefile.common index 514cc7c9ca6..4850160bb87 100644 --- a/emulators/suse91_linux/Makefile.common +++ b/emulators/suse91_linux/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.3 2004/08/07 13:05:03 jdolecek Exp $ +# $NetBSD: Makefile.common,v 1.4 2004/10/07 02:01:37 jlam Exp $ SUSE_VERSION= 9.1 @@ -56,7 +56,7 @@ do-install: ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}; \ else \ ${RM} -f ${PLIST_SRC}; \ - ${CP} ${_PKGSRCDIR}/emulators/suse_linux/PLIST_dynamic ${PLIST_SRC} ; \ + ${CP} ${PKGSRCDIR}/emulators/suse_linux/PLIST_dynamic ${PLIST_SRC} ; \ fi ${RPM2PKG} ${RPM2PKGARGS} @if ${GREP} -q 'lib.*\.so' ${PLIST_SRC}; then \ diff --git a/emulators/suse_linux/Makefile.common b/emulators/suse_linux/Makefile.common index b8835372c3c..a6ea2c248e0 100644 --- a/emulators/suse_linux/Makefile.common +++ b/emulators/suse_linux/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.18 2004/05/27 10:28:54 tron Exp $ +# $NetBSD: Makefile.common,v 1.19 2004/10/07 02:01:37 jlam Exp $ SUSE_VERSION= 7.3 @@ -43,7 +43,7 @@ do-install: ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}; \ else \ ${RM} -f ${PLIST_SRC}; \ - ${CP} ${_PKGSRCDIR}/emulators/suse_linux/PLIST_dynamic ${PLIST_SRC} ; \ + ${CP} ${PKGSRCDIR}/emulators/suse_linux/PLIST_dynamic ${PLIST_SRC} ; \ fi ${RPM2PKG} ${RPM2PKGARGS} @if ${GREP} -q 'lib.*\.so' ${PLIST_SRC}; then \ |