diff options
author | jlam <jlam> | 2006-06-14 16:57:07 +0000 |
---|---|---|
committer | jlam <jlam> | 2006-06-14 16:57:07 +0000 |
commit | 92b58c827d024c61f2d5243b1be59d399d335f5f (patch) | |
tree | 0a996b6791097d1554d2d186024dd8296a1b3b09 /mk/tools | |
parent | 42d3ca1238d533ffa914a4f3720450d8b05f2529 (diff) | |
download | pkgsrc-92b58c827d024c61f2d5243b1be59d399d335f5f.tar.gz |
Teach the tools framework about "openssl".
Diffstat (limited to 'mk/tools')
-rw-r--r-- | mk/tools/defaults.mk | 3 | ||||
-rw-r--r-- | mk/tools/replace.mk | 13 | ||||
-rw-r--r-- | mk/tools/tools.Darwin.mk | 3 | ||||
-rw-r--r-- | mk/tools/tools.DragonFly.mk | 3 | ||||
-rw-r--r-- | mk/tools/tools.FreeBSD.mk | 3 | ||||
-rw-r--r-- | mk/tools/tools.Linux.mk | 5 | ||||
-rw-r--r-- | mk/tools/tools.NetBSD.mk | 3 | ||||
-rw-r--r-- | mk/tools/tools.OpenBSD.mk | 3 | ||||
-rw-r--r-- | mk/tools/tools.SunOS.mk | 5 |
9 files changed, 32 insertions, 9 deletions
diff --git a/mk/tools/defaults.mk b/mk/tools/defaults.mk index 65b7e4f58ba..a89c969f809 100644 --- a/mk/tools/defaults.mk +++ b/mk/tools/defaults.mk @@ -1,4 +1,4 @@ -# $NetBSD: defaults.mk,v 1.46 2006/03/06 05:25:45 jlam Exp $ +# $NetBSD: defaults.mk,v 1.47 2006/06/14 16:57:07 jlam Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -106,6 +106,7 @@ _TOOLS_VARNAME.mtree= MTREE _TOOLS_VARNAME.mv= MV _TOOLS_VARNAME.nice= NICE _TOOLS_VARNAME.nroff= NROFF +_TOOLS_VARNAME.openssl= OPENSSL _TOOLS_VARNAME.patch= PATCH _TOOLS_VARNAME.pax= PAX _TOOLS_VARNAME.perl= PERL5 diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk index 5218ba0c9b2..91597f1d8d7 100644 --- a/mk/tools/replace.mk +++ b/mk/tools/replace.mk @@ -1,4 +1,4 @@ -# $NetBSD: replace.mk,v 1.169 2006/06/06 19:25:59 jlam Exp $ +# $NetBSD: replace.mk,v 1.170 2006/06/14 16:57:07 jlam Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -532,6 +532,17 @@ TOOLS_PATH.mtree= ${TOOLS_PREFIX.mtree}/bin/mtree . endif .endif +.if !defined(TOOLS_IGNORE.openssl) && !empty(_USE_TOOLS:Mopenssl) +. if !empty(PKGPATH:Msecurity/openssl) +MAKEFLAGS+= TOOLS_IGNORE.openssl= +. elif !empty(_TOOLS_USE_PKGSRC.openssl:M[yY][eE][sS]) +TOOLS_DEPENDS.openssl?= openssl>=0.9.6:../../security/openssl +TOOLS_CREATE+= openssl +TOOLS_FIND_PREFIX+= TOOLS_PREFIX.openssl=openssl +TOOLS_PATH.openssl= ${TOOLS_PREFIX.openssl}/bin/openssl +. endif +.endif + .if !defined(TOOLS_IGNORE.patch) && !empty(_USE_TOOLS:Mpatch) . if !empty(PKGPATH:Mdevel/patch) MAKEFLAGS+= TOOLS_IGNORE.patch= diff --git a/mk/tools/tools.Darwin.mk b/mk/tools/tools.Darwin.mk index a45bc9320d1..2bf2554b1fa 100644 --- a/mk/tools/tools.Darwin.mk +++ b/mk/tools/tools.Darwin.mk @@ -1,4 +1,4 @@ -# $NetBSD: tools.Darwin.mk,v 1.25 2006/03/08 21:18:43 minskim Exp $ +# $NetBSD: tools.Darwin.mk,v 1.26 2006/06/14 16:57:07 jlam Exp $ # # System-supplied tools for the Darwin (Mac OS X) operating system. @@ -61,6 +61,7 @@ TOOLS_PLATFORM.mtree?= /usr/sbin/mtree TOOLS_PLATFORM.mv?= /bin/mv TOOLS_PLATFORM.nice?= /usr/bin/nice TOOLS_PLATFORM.nroff?= /usr/bin/nroff +TOOLS_PLATFORM.openssl?= /usr/bin/openssl TOOLS_PLATFORM.patch?= /usr/bin/patch TOOLS_PLATFORM.pwd?= /bin/pwd TOOLS_PLATFORM.rm?= /bin/rm diff --git a/mk/tools/tools.DragonFly.mk b/mk/tools/tools.DragonFly.mk index f1a5d7a5c3f..27c1d2411ce 100644 --- a/mk/tools/tools.DragonFly.mk +++ b/mk/tools/tools.DragonFly.mk @@ -1,4 +1,4 @@ -# $NetBSD: tools.DragonFly.mk,v 1.25 2006/05/21 16:55:23 jlam Exp $ +# $NetBSD: tools.DragonFly.mk,v 1.26 2006/06/14 16:57:07 jlam Exp $ # # System-supplied tools for the DragonFly operating system. @@ -55,6 +55,7 @@ TOOLS_PLATFORM.mtree?= /usr/sbin/mtree TOOLS_PLATFORM.mv?= /bin/mv TOOLS_PLATFORM.nice?= /usr/bin/nice TOOLS_PLATFORM.nroff?= /usr/bin/nroff +TOOLS_PLATFORM.openssl?= /usr/bin/openssl TOOLS_PLATFORM.patch?= /usr/bin/patch TOOLS_PLATFORM.pax?= /bin/pax TOOLS_PLATFORM.printf?= /usr/bin/printf diff --git a/mk/tools/tools.FreeBSD.mk b/mk/tools/tools.FreeBSD.mk index d668afba20b..1fd07135507 100644 --- a/mk/tools/tools.FreeBSD.mk +++ b/mk/tools/tools.FreeBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: tools.FreeBSD.mk,v 1.26 2006/05/21 16:55:23 jlam Exp $ +# $NetBSD: tools.FreeBSD.mk,v 1.27 2006/06/14 16:57:07 jlam Exp $ # # System-supplied tools for the FreeBSD operating system. @@ -56,6 +56,7 @@ TOOLS_PLATFORM.mtree?= /usr/sbin/mtree TOOLS_PLATFORM.mv?= /bin/mv TOOLS_PLATFORM.nice?= /usr/bin/nice TOOLS_PLATFORM.nroff?= /usr/bin/nroff +TOOLS_PLATFORM.openssl?= /usr/bin/openssl TOOLS_PLATFORM.patch?= /usr/bin/patch TOOLS_PLATFORM.pax?= /bin/pax TOOLS_PLATFORM.printf?= /usr/bin/printf diff --git a/mk/tools/tools.Linux.mk b/mk/tools/tools.Linux.mk index 056f62a2b4b..1241d7830c8 100644 --- a/mk/tools/tools.Linux.mk +++ b/mk/tools/tools.Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: tools.Linux.mk,v 1.33 2006/05/21 16:55:23 jlam Exp $ +# $NetBSD: tools.Linux.mk,v 1.34 2006/06/14 16:57:07 jlam Exp $ # # System-supplied tools for the Linux operating system. @@ -138,6 +138,9 @@ TOOLS_PLATFORM.nice?= /usr/bin/nice .if exists(/usr/bin/nroff) TOOLS_PLATFORM.nroff?= /usr/bin/nroff .endif +.if exists(/usr/bin/openssl) +TOOLS_PLATFORM.openssl?= /usr/bin/openssl +.endif TOOLS_PLATFORM.patch?= /usr/bin/patch .if exists(/usr/bin/printf) TOOLS_PLATFORM.printf?= /usr/bin/printf diff --git a/mk/tools/tools.NetBSD.mk b/mk/tools/tools.NetBSD.mk index 62a2cadfee2..e2167a4734a 100644 --- a/mk/tools/tools.NetBSD.mk +++ b/mk/tools/tools.NetBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: tools.NetBSD.mk,v 1.31 2006/05/21 17:25:27 jlam Exp $ +# $NetBSD: tools.NetBSD.mk,v 1.32 2006/06/14 16:57:07 jlam Exp $ # # System-supplied tools for the NetBSD operating system. @@ -67,6 +67,7 @@ TOOLS_PLATFORM.mtree?= /usr/sbin/mtree TOOLS_PLATFORM.mv?= /bin/mv TOOLS_PLATFORM.nice?= /usr/bin/nice TOOLS_PLATFORM.nroff?= /usr/bin/nroff +TOOLS_PLATFORM.openssl?= /usr/bin/openssl TOOLS_PLATFORM.patch?= /usr/bin/patch TOOLS_PLATFORM.pax?= /bin/pax TOOLS_PLATFORM.printf?= /usr/bin/printf diff --git a/mk/tools/tools.OpenBSD.mk b/mk/tools/tools.OpenBSD.mk index e5a7f1fd6ce..132c309552d 100644 --- a/mk/tools/tools.OpenBSD.mk +++ b/mk/tools/tools.OpenBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: tools.OpenBSD.mk,v 1.24 2006/03/06 05:25:45 jlam Exp $ +# $NetBSD: tools.OpenBSD.mk,v 1.25 2006/06/14 16:57:07 jlam Exp $ # # System-supplied tools for the OpenBSD operating system. @@ -61,6 +61,7 @@ TOOLS_PLATFORM.mtree?= /usr/sbin/mtree TOOLS_PLATFORM.mv?= /bin/mv TOOLS_PLATFORM.nice?= /usr/bin/nice TOOLS_PLATFORM.nroff?= /usr/bin/nroff +TOOLS_PLATFORM.openssl?= /usr/bin/openssl TOOLS_PLATFORM.patch?= /usr/bin/patch TOOLS_PLATFORM.printf?= /usr/bin/printf TOOLS_PLATFORM.pwd?= /bin/pwd diff --git a/mk/tools/tools.SunOS.mk b/mk/tools/tools.SunOS.mk index c351d0a3f30..fd16208de8b 100644 --- a/mk/tools/tools.SunOS.mk +++ b/mk/tools/tools.SunOS.mk @@ -1,4 +1,4 @@ -# $NetBSD: tools.SunOS.mk,v 1.23 2005/11/08 03:36:13 tv Exp $ +# $NetBSD: tools.SunOS.mk,v 1.24 2006/06/14 16:57:07 jlam Exp $ # # System-supplied tools for the Solaris operating system. @@ -58,6 +58,9 @@ TOOLS_PLATFORM.nice?= /usr/xpg4/bin/nice .if exists(/usr/bin/nroff) TOOLS_PLATFORM.nroff?= /usr/bin/nroff .endif +.if exists(/usr/bin/openssl) +TOOLS_PLATFORM.openssl?= /usr/bin/openssl +.endif .if exists(/usr/bin/gpatch) TOOLS_PLATFORM.patch?= /usr/bin/gpatch .endif |