summaryrefslogtreecommitdiff
path: root/sysutils
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
commitd1cccabb07aba5d4104c401e80fb040a4104f619 (patch)
treea9502fbaf1501d2977e4a2e5414c1411f79e9c42 /sysutils
parentd7c5fec11b807956946f075b807035ceea08622d (diff)
downloadpkgsrc-d1cccabb07aba5d4104c401e80fb040a4104f619.tar.gz
Use different BUILD_TARGET on Darwin; the "netbsd" target requires
libcrypt, which doesn't exist on Darwin.
Diffstat (limited to 'sysutils')
-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"