pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/emulator Use .PARSEDIR where it can be used to avoi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7e5394e36356
branches:  trunk
changeset: 532574:7e5394e36356
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Aug 23 17:39:47 2007 +0000

description:
Use .PARSEDIR where it can be used to avoid hardcoding the path to the
emulator module.

diffstat:

 mk/emulator/darwin.mk   |  4 ++--
 mk/emulator/emulator.mk |  4 ++--
 mk/emulator/freebsd.mk  |  4 ++--
 mk/emulator/irix.mk     |  4 ++--
 mk/emulator/linux.mk    |  4 ++--
 mk/emulator/netbsd.mk   |  4 ++--
 mk/emulator/osf1.mk     |  4 ++--
 mk/emulator/solaris.mk  |  4 ++--
 mk/emulator/sunos.mk    |  4 ++--
 9 files changed, 18 insertions(+), 18 deletions(-)

diffs (162 lines):

diff -r f59bbb3fae93 -r 7e5394e36356 mk/emulator/darwin.mk
--- a/mk/emulator/darwin.mk     Thu Aug 23 17:31:46 2007 +0000
+++ b/mk/emulator/darwin.mk     Thu Aug 23 17:39:47 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: darwin.mk,v 1.1 2007/08/01 16:28:08 jlam Exp $
+# $NetBSD: darwin.mk,v 1.2 2007/08/23 17:39:47 jlam Exp $
 #
 # Darwin (Mac OS X) binary emulation framework
 #
@@ -34,7 +34,7 @@
 EMULDIR=               ${PREFIX}
 EMULSUBDIR=            # empty
 .else
-.  include "${PKGSRCDIR}/mk/emulator/darwin-${_EMUL_TYPE}.mk"
+.  include "${.PARSEDIR}/darwin-${_EMUL_TYPE}.mk"
 .endif
 
 .if (${_EMUL_TYPE} == "builtin") || (${_EMUL_TYPE} == "native")
diff -r f59bbb3fae93 -r 7e5394e36356 mk/emulator/emulator.mk
--- a/mk/emulator/emulator.mk   Thu Aug 23 17:31:46 2007 +0000
+++ b/mk/emulator/emulator.mk   Thu Aug 23 17:39:47 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: emulator.mk,v 1.6 2007/08/23 17:31:46 jlam Exp $
+# $NetBSD: emulator.mk,v 1.7 2007/08/23 17:39:47 jlam Exp $
 #
 # This file is included by bsd.pkg.mk.
 #
@@ -136,7 +136,7 @@
 
 EMUL_PKG_FMT?=         plain
 
-.include "${PKGSRCDIR}/mk/emulator/pkg-${EMUL_PKG_FMT}.mk"
+.include "${.PARSEDIR}/pkg-${EMUL_PKG_FMT}.mk"
 
 .PHONY: emul-fetch
 emul-fetch:
diff -r f59bbb3fae93 -r 7e5394e36356 mk/emulator/freebsd.mk
--- a/mk/emulator/freebsd.mk    Thu Aug 23 17:31:46 2007 +0000
+++ b/mk/emulator/freebsd.mk    Thu Aug 23 17:39:47 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: freebsd.mk,v 1.1 2007/07/29 05:19:42 jlam Exp $
+# $NetBSD: freebsd.mk,v 1.2 2007/08/23 17:39:47 jlam Exp $
 #
 # FreeBSD binary emulation framework
 #
@@ -33,7 +33,7 @@
 EMULDIR=               ${PREFIX}
 EMULSUBDIR=            # empty
 .else
-.  include "${PKGSRCDIR}/mk/emulator/freebsd-${_EMUL_TYPE}.mk"
+.  include "${.PARSEDIR}/freebsd-${_EMUL_TYPE}.mk"
 .endif
 
 .if (${_EMUL_TYPE} == "builtin") || (${_EMUL_TYPE} == "native")
diff -r f59bbb3fae93 -r 7e5394e36356 mk/emulator/irix.mk
--- a/mk/emulator/irix.mk       Thu Aug 23 17:31:46 2007 +0000
+++ b/mk/emulator/irix.mk       Thu Aug 23 17:39:47 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: irix.mk,v 1.1 2007/07/29 05:19:42 jlam Exp $
+# $NetBSD: irix.mk,v 1.2 2007/08/23 17:39:47 jlam Exp $
 #
 # IRIX binary emulation framework
 #
@@ -33,7 +33,7 @@
 EMULDIR=               ${PREFIX}
 EMULSUBDIR=            # empty
 .else
-.  include "${PKGSRCDIR}/mk/emulator/irix-${_EMUL_TYPE}.mk"
+.  include "${.PARSEDIR}/irix-${_EMUL_TYPE}.mk"
 .endif
 
 .if (${_EMUL_TYPE} == "builtin") || (${_EMUL_TYPE} == "native")
diff -r f59bbb3fae93 -r 7e5394e36356 mk/emulator/linux.mk
--- a/mk/emulator/linux.mk      Thu Aug 23 17:31:46 2007 +0000
+++ b/mk/emulator/linux.mk      Thu Aug 23 17:39:47 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: linux.mk,v 1.1 2007/07/29 05:19:43 jlam Exp $
+# $NetBSD: linux.mk,v 1.2 2007/08/23 17:39:47 jlam Exp $
 #
 # Linux binary emulation framework
 #
@@ -66,7 +66,7 @@
 EMULDIR=               ${PREFIX}
 EMULSUBDIR=            # empty
 .else
-.  include "${PKGSRCDIR}/mk/emulator/linux-${_EMUL_TYPE}.mk"
+.  include "${.PARSEDIR}/linux-${_EMUL_TYPE}.mk"
 .endif
 
 .if (${_EMUL_TYPE} == "builtin") || (${_EMUL_TYPE} == "native")
diff -r f59bbb3fae93 -r 7e5394e36356 mk/emulator/netbsd.mk
--- a/mk/emulator/netbsd.mk     Thu Aug 23 17:31:46 2007 +0000
+++ b/mk/emulator/netbsd.mk     Thu Aug 23 17:39:47 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: netbsd.mk,v 1.1 2007/08/21 22:49:33 jlam Exp $
+# $NetBSD: netbsd.mk,v 1.2 2007/08/23 17:39:47 jlam Exp $
 #
 # NetBSD binary emulation framework
 #
@@ -35,7 +35,7 @@
 EMULDIR=               ${PREFIX}
 EMULSUBDIR=            # empty
 .else
-.  include "${PKGSRCDIR}/mk/emulator/netbsd-${_EMUL_TYPE}.mk"
+.  include "${.PARSEDIR}/netbsd-${_EMUL_TYPE}.mk"
 .endif
 
 .if (${_EMUL_TYPE} == "builtin") || (${_EMUL_TYPE} == "native")
diff -r f59bbb3fae93 -r 7e5394e36356 mk/emulator/osf1.mk
--- a/mk/emulator/osf1.mk       Thu Aug 23 17:31:46 2007 +0000
+++ b/mk/emulator/osf1.mk       Thu Aug 23 17:39:47 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: osf1.mk,v 1.2 2007/08/01 17:19:23 jlam Exp $
+# $NetBSD: osf1.mk,v 1.3 2007/08/23 17:39:47 jlam Exp $
 #
 # OSF/1 (Tru64) binary emulation framework
 #
@@ -34,7 +34,7 @@
 EMULDIR=               ${PREFIX}
 EMULSUBDIR=            # empty
 .else
-.  include "${PKGSRCDIR}/mk/emulator/osf1-${_EMUL_TYPE}.mk"
+.  include "${.PARSEDIR}/osf1-${_EMUL_TYPE}.mk"
 .endif
 
 .if (${_EMUL_TYPE} == "builtin") || (${_EMUL_TYPE} == "native")
diff -r f59bbb3fae93 -r 7e5394e36356 mk/emulator/solaris.mk
--- a/mk/emulator/solaris.mk    Thu Aug 23 17:31:46 2007 +0000
+++ b/mk/emulator/solaris.mk    Thu Aug 23 17:39:47 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: solaris.mk,v 1.1 2007/07/29 05:19:43 jlam Exp $
+# $NetBSD: solaris.mk,v 1.2 2007/08/23 17:39:47 jlam Exp $
 #
 # Solaris (SVR4) binary emulation framework
 #
@@ -42,7 +42,7 @@
 EMULDIR=               ${PREFIX}
 EMULSUBDIR=            # empty
 .else
-.  include "${PKGSRCDIR}/mk/emulator/solaris-${_EMUL_TYPE}.mk"
+.  include "${.PARSEDIR}/solaris-${_EMUL_TYPE}.mk"
 .endif
 
 .if (${_EMUL_TYPE} == "builtin") || (${_EMUL_TYPE} == "native")
diff -r f59bbb3fae93 -r 7e5394e36356 mk/emulator/sunos.mk
--- a/mk/emulator/sunos.mk      Thu Aug 23 17:31:46 2007 +0000
+++ b/mk/emulator/sunos.mk      Thu Aug 23 17:39:47 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: sunos.mk,v 1.1 2007/07/29 05:19:43 jlam Exp $
+# $NetBSD: sunos.mk,v 1.2 2007/08/23 17:39:47 jlam Exp $
 #
 # SunOS 4.x binary emulation framework
 #
@@ -33,7 +33,7 @@
 EMULDIR=               ${PREFIX}
 EMULSUBDIR=            # empty
 .else
-.  include "${PKGSRCDIR}/mk/emulator/sunos-${_EMUL_TYPE}.mk"
+.  include "${.PARSEDIR}/sunos-${_EMUL_TYPE}.mk"
 .endif
 
 .if (${_EMUL_TYPE} == "builtin") || (${_EMUL_TYPE} == "native")



Home | Main Index | Thread Index | Old Index