added support for Darwin

This commit is contained in:
schwarz 2006-10-03 09:04:10 +00:00
parent 8b03a5d2c8
commit c813bc19b1

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2006/09/09 02:43:11 obache Exp $
# $NetBSD: Makefile,v 1.14 2006/10/03 09:04:10 schwarz Exp $
DISTNAME= host-20040812
CATEGORIES= net
@ -15,4 +15,11 @@ MAKE_FILE= Makefile.BSD
MAKE_FLAGS+= __NetBSD__=1
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
CPPFLAGS+= -DBIND_8_COMPAT
BUILDLINK_TRANSFORM+= rm:-Wl,--warn-common
BUILDLINK_TRANSFORM+= rm:-static
.endif
.include "../../mk/bsd.pkg.mk"