From a0240564b77789748c5d8bd969b0b1d663cd466d Mon Sep 17 00:00:00 2001 From: minskim Date: Wed, 2 Nov 2005 18:44:40 +0000 Subject: Use different BUILD_TARGET on Darwin; the "netbsd" target requires libcrypt, which doesn't exist on Darwin. --- sysutils/genpasswd/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sysutils/genpasswd') diff --git a/sysutils/genpasswd/Makefile b/sysutils/genpasswd/Makefile index 8e837865be9..031354d5a86 100644 --- a/sysutils/genpasswd/Makefile +++ b/sysutils/genpasswd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2003/03/28 21:14:35 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2005/11/02 18:44:40 minskim Exp $ # DISTNAME= genpasswd-1.5 @@ -12,4 +12,10 @@ NO_CONFIGURE= yes INSTALL_TARGET= install install.man DEST=${PREFIX} +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "Darwin" +BUILD_TARGET= gcc +.endif + .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3