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
commit5c0a0707bf99cf5ed1705838bb767d6e5c35aff7 (patch)
treea14b4daeaf3639076840d53d7b6ef27011dd8afc /news
parentd3e99b3a5f86f8e86847c2e668b499bdf3201777 (diff)
downloadpkgsrc-5c0a0707bf99cf5ed1705838bb767d6e5c35aff7.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