summaryrefslogtreecommitdiff
path: root/sysutils/genpasswd
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-11-02 18:44:40 +0000
committerminskim <minskim@pkgsrc.org>2005-11-02 18:44:40 +0000
commita0240564b77789748c5d8bd969b0b1d663cd466d (patch)
treea9502fbaf1501d2977e4a2e5414c1411f79e9c42 /sysutils/genpasswd
parent1ce8982391093c72a05dfe357653dfb416f7afcb (diff)
downloadpkgsrc-a0240564b77789748c5d8bd969b0b1d663cd466d.tar.gz
Use different BUILD_TARGET on Darwin; the "netbsd" target requires
libcrypt, which doesn't exist on Darwin.
Diffstat (limited to 'sysutils/genpasswd')
-rw-r--r--sysutils/genpasswd/Makefile8
1 files changed, 7 insertions, 1 deletions
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"