pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/genpasswd Use different BUILD_TARGET on Darwi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/910f36f16dd6
branches:  trunk
changeset: 502142:910f36f16dd6
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Nov 02 18:44:40 2005 +0000

description:
Use different BUILD_TARGET on Darwin; the "netbsd" target requires
libcrypt, which doesn't exist on Darwin.

diffstat:

 sysutils/genpasswd/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r f8146999981e -r 910f36f16dd6 sysutils/genpasswd/Makefile
--- a/sysutils/genpasswd/Makefile       Wed Nov 02 18:41:37 2005 +0000
+++ b/sysutils/genpasswd/Makefile       Wed Nov 02 18:44:40 2005 +0000
@@ -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 @@
 
 INSTALL_TARGET=                install install.man DEST=${PREFIX}
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+BUILD_TARGET=  gcc
+.endif
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index