pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/most Fix build on Mac OS X. From Steve Mynott in ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7b6a09335c27
branches: trunk
changeset: 522671:7b6a09335c27
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun Dec 17 17:17:19 2006 +0000
description:
Fix build on Mac OS X. From Steve Mynott in private mail.
diffstat:
misc/most/Makefile | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 2d1aad2da0ad -r 7b6a09335c27 misc/most/Makefile
--- a/misc/most/Makefile Sun Dec 17 16:57:09 2006 +0000
+++ b/misc/most/Makefile Sun Dec 17 17:17:19 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2006/10/04 21:49:19 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2006/12/17 17:17:19 joerg Exp $
DISTNAME= most-4.9.0
PKGREVISION= 1
@@ -13,5 +13,12 @@
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-x
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+# prevent duplicate definition of zopen
+CFLAGS+= -D_POSIX_C_SOURCE
+.endif
+
.include "../../devel/libslang/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index