pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/objc Fix build on NetBSD.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4e6cf35e2f49
branches:  trunk
changeset: 603194:4e6cf35e2f49
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Mon Apr 30 02:51:40 2012 +0000

description:
Fix build on NetBSD.

diffstat:

 lang/objc/hacks.mk |  7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 1dcad2a7dae0 -r 4e6cf35e2f49 lang/objc/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/objc/hacks.mk        Mon Apr 30 02:51:40 2012 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: hacks.mk,v 1.1 2012/04/30 02:51:40 dholland Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+CFLAGS+=       -D__attribute__\(x\)=
+.endif



Home | Main Index | Thread Index | Old Index