diff options
author | agc <agc@pkgsrc.org> | 1998-06-03 13:49:07 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1998-06-03 13:49:07 +0000 |
commit | 66a20af2e1a132a53690d25297a475e762f790fe (patch) | |
tree | cc3c3a4a66534bccdfb5dea7bc32bb8951ee9ec9 /security/ssh | |
parent | 062cdc8ef93cd6343c76f6156ad936df41ee2069 (diff) | |
download | pkgsrc-66a20af2e1a132a53690d25297a475e762f790fe.tar.gz |
Consolidate inclusion of /etc/mk.conf by using bsd.prefs.mk
Diffstat (limited to 'security/ssh')
-rw-r--r-- | security/ssh/Makefile | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/security/ssh/Makefile b/security/ssh/Makefile index 7e94da22b88..8d8feb72387 100644 --- a/security/ssh/Makefile +++ b/security/ssh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 1998/05/26 19:43:49 tron Exp $ +# $NetBSD: Makefile,v 1.21 1998/06/03 13:49:07 agc Exp $ # FreeBSD Id: Makefile,v 1.47 1997/11/10 22:04:42 dima Exp # @@ -16,23 +16,7 @@ IS_INTERACTIVE= YES CFLAGS= -O2 GNU_CONFIGURE= YES -# Include local make config file here. It is essential to have this -# precede any override targets (those that override defaults in -# <bsd.pkg.mk> that test variables that may be set here. Note that -# this inclusion is otherwise redundant, since <bsd.pkg.mk> includes -# <bsd.own.mk>, which includes it. -# XXX: FIXME ! We need a simple way of doing this in many dozen pkgs. - -OPSYS!= uname -s -.if (${OPSYS} == "FreeBSD") -.if exists(/etc/make.conf) -.include "/etc/make.conf" -.endif -.else -.if exists(/etc/mk.conf) -.include "/etc/mk.conf" -.endif -.endif +.include "../../mk/bsd.prefs.mk" # Use SSH_CONF_DIR from /etc/mk.conf, if defined; otherwise default to /etc SSH_CONF_DIR?= /etc |