summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2009-11-30 00:38:47 +0000
committerdholland <dholland@pkgsrc.org>2009-11-30 00:38:47 +0000
commit653bac7f6e9a26366b809aed7a67b95552298256 (patch)
treea14b4daeaf3639076840d53d7b6ef27011dd8afc /news
parent0f7deebbb69830f3565024b2e1269f4dff581610 (diff)
downloadpkgsrc-653bac7f6e9a26366b809aed7a67b95552298256.tar.gz
Add build config for amd64.
Diffstat (limited to 'news')
-rw-r--r--news/nn/Makefile3
-rw-r--r--news/nn/files/m-x86_64.h24
2 files changed, 26 insertions, 1 deletions
diff --git a/news/nn/Makefile b/news/nn/Makefile
index 73038441192..b1e4cd1da1d 100644
--- a/news/nn/Makefile
+++ b/news/nn/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2007/07/29 14:33:12 joerg Exp $
+# $NetBSD: Makefile,v 1.36 2009/11/30 00:38:47 dholland Exp $
DISTNAME= nn-6.7.3
CATEGORIES= news
@@ -50,6 +50,7 @@ post-patch:
<${WRKSRC}/config.h-dist >${WRKSRC}/config.h
@${CP} ${FILESDIR}/s-netbsd.h ${WRKSRC}/conf/s-netbsd.h
@${CP} ${FILESDIR}/m-powerpc.h ${WRKSRC}/conf/m-powerpc.h
+ @${CP} ${FILESDIR}/m-x86_64.h ${WRKSRC}/conf/m-x86_64.h
@${CP} ${WRKSRC}/conf/m-m680x0.h ${WRKSRC}/conf/m-m68k.h
.include "../../mk/bsd.pkg.mk"
diff --git a/news/nn/files/m-x86_64.h b/news/nn/files/m-x86_64.h
new file mode 100644
index 00000000000..c04ff033e14
--- /dev/null
+++ b/news/nn/files/m-x86_64.h
@@ -0,0 +1,24 @@
+/************** Machine (and compiler) dependent definitions. **************
+ *
+ * Define appropriate types for the following ranges of integer
+ * variables. These are processor & compiler dependent, but the
+ * distributed definitions will probably work on most systems.
+ */
+
+
+
+/* MACHINE TYPE DEFINED TYPE VALUE RANGE */
+
+typedef unsigned char int8; /* 0 .. 255 */
+typedef short int16; /* -10,000 .. 10,000 */
+typedef int int32; /* -100,000 .. 100,000 */
+typedef unsigned int uint32; /* 0 .. 2^31-1 */
+
+
+
+/*
+ * Define NETWORK_BYTE_ORDER if the machine's longs are
+ * already in network byte order.
+ */
+
+#undef NETWORK_BYTE_ORDER