pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/news/nn Add build config for amd64.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/99b35a64db59
branches:  trunk
changeset: 567965:99b35a64db59
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Mon Nov 30 00:38:47 2009 +0000

description:
Add build config for amd64.

diffstat:

 news/nn/Makefile         |   3 ++-
 news/nn/files/m-x86_64.h |  24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)

diffs (45 lines):

diff -r 9a08cab863a2 -r 99b35a64db59 news/nn/Makefile
--- a/news/nn/Makefile  Mon Nov 30 00:03:08 2009 +0000
+++ b/news/nn/Makefile  Mon Nov 30 00:38:47 2009 +0000
@@ -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 @@
            <${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 -r 9a08cab863a2 -r 99b35a64db59 news/nn/files/m-x86_64.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/news/nn/files/m-x86_64.h  Mon Nov 30 00:38:47 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index