pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/nbitools Add DragonFly support. Bump revision du...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/30d7b13ae7bc
branches:  trunk
changeset: 504004:30d7b13ae7bc
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Dec 02 22:59:40 2005 +0000

description:
Add DragonFly support. Bump revision due to PLIST change.

diffstat:

 devel/nbitools/Makefile           |    8 +-
 devel/nbitools/PLIST              |    3 +-
 devel/nbitools/distinfo           |   10 +-
 devel/nbitools/files/DragonFly.cf |  271 ++++++++++++++++++++++++++++++++++++++
 devel/nbitools/patches/patch-ag   |   31 ++++-
 devel/nbitools/patches/patch-ah   |   47 ++++++-
 devel/nbitools/patches/patch-aj   |   34 ++++-
 devel/nbitools/patches/patch-ak   |   14 +
 devel/nbitools/patches/patch-al   |   13 +
 9 files changed, 420 insertions(+), 11 deletions(-)

diffs (truncated from 529 to 300 lines):

diff -r db80e9a4702f -r 30d7b13ae7bc devel/nbitools/Makefile
--- a/devel/nbitools/Makefile   Fri Dec 02 22:57:32 2005 +0000
+++ b/devel/nbitools/Makefile   Fri Dec 02 22:59:40 2005 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.9 2005/05/22 20:07:53 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2005/12/02 22:59:40 joerg Exp $
 #
 
 DISTNAME=      nbitools-R6.3
 PKGNAME=       nbitools-6.3
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_LOCAL}
 
@@ -23,6 +23,10 @@
 USE_TOOLS+=    gmake
 .endif
 
+post-extract:
+       @${CP} ${FILESDIR}/DragonFly.cf ${WRKSRC}/config/cf
+
+
 post-patch:
        @${MV} ${WRKSRC}/config/cf/site.def ${WRKSRC}/config/cf/site.def.orig
        @${SED} -e 's|^\(\#define[ \t]*ProjectRoot\).*|\1 ${PREFIX}|' \
diff -r db80e9a4702f -r 30d7b13ae7bc devel/nbitools/PLIST
--- a/devel/nbitools/PLIST      Fri Dec 02 22:57:32 2005 +0000
+++ b/devel/nbitools/PLIST      Fri Dec 02 22:59:40 2005 +0000
@@ -1,10 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/06/03 09:53:46 sakamoto Exp $
+@comment $NetBSD: PLIST,v 1.2 2005/12/02 22:59:40 joerg Exp $
 include/itools/X11/Xfuncproto.h
 include/itools/X11/Xos.h
 include/itools/X11/Xosdefs.h
 lib/itools/X11/config/Amoeba.cf
 lib/itools/X11/config/DGUX.cf
 lib/itools/X11/config/Darwin.cf
+lib/itools/X11/config/DragonFly.cf
 lib/itools/X11/config/FreeBSD.cf
 lib/itools/X11/config/Imake.cf
 lib/itools/X11/config/Imake.rules
diff -r db80e9a4702f -r 30d7b13ae7bc devel/nbitools/distinfo
--- a/devel/nbitools/distinfo   Fri Dec 02 22:57:32 2005 +0000
+++ b/devel/nbitools/distinfo   Fri Dec 02 22:59:40 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2005/05/08 03:14:35 minskim Exp $
+$NetBSD: distinfo,v 1.8 2005/12/02 22:59:40 joerg Exp $
 
 SHA1 (nbitools-R6.3.tar.gz) = 0f6751417d7ef412be04611fbe4f56386a04322a
 RMD160 (nbitools-R6.3.tar.gz) = 047f64b113a0307b045573bfe429b59063ae38ea
@@ -9,7 +9,9 @@
 SHA1 (patch-ad) = b0c18505891834182c57819489b7d9890802d550
 SHA1 (patch-ae) = 0a0acf8798055a7b1b292e8d2edf998857641550
 SHA1 (patch-af) = 9a7e4bd19863d086a1e57f1cd9484b05189cbda6
-SHA1 (patch-ag) = cd7da1a5c47fc37ee8ade78903cc9195219a4c66
-SHA1 (patch-ah) = 1048c4cda63de7bd23213785d7614ec8e00f0c9c
+SHA1 (patch-ag) = f0d09ad369eef0ceb64b946679eb910ee8909c59
+SHA1 (patch-ah) = 10645ba6e875cca81c7cb67e570b737f16ccfa26
 SHA1 (patch-ai) = 9085fda5360c672865561e2c0aeafdc34596eb66
-SHA1 (patch-aj) = ab3f2807a92bf228ec1aa8bfb8a586de964e3a1c
+SHA1 (patch-aj) = b3ec58e0fcbed869e230e0e3fa8b37517ed1b52e
+SHA1 (patch-ak) = 293f304c8e4dcafd2dd0f344c322df9fae9ff4a2
+SHA1 (patch-al) = d3f31eb2594560b75508fac223680fb9a01fe35c
diff -r db80e9a4702f -r 30d7b13ae7bc devel/nbitools/files/DragonFly.cf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/nbitools/files/DragonFly.cf Fri Dec 02 22:59:40 2005 +0000
@@ -0,0 +1,271 @@
+/* $NetBSD: DragonFly.cf,v 1.1 2005/12/02 22:59:40 joerg Exp $ */
+
+#define UseElfFormat           DefaultToElfFormat
+#define OSBinaryFormat         [ELF]
+
+#ifndef OSName
+#define OSName                 DefaultOSName OSBinaryFormat
+#endif
+#ifndef OSVendor
+#define OSVendor               /**/
+#endif
+#ifndef OSMajorVersion
+#define OSMajorVersion         DefaultOSMajorVersion
+#endif
+#ifndef OSMinorVersion
+#define OSMinorVersion         DefaultOSMinorVersion
+#endif
+#ifndef OSTeenyVersion
+#define OSTeenyVersion         DefaultOSTeenyVersion
+#endif
+XCOMM operating system:  OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
+
+#define HasGcc                 YES
+#define HasGcc2                        YES
+#define HasCplusplus           YES
+#define HasGcc2ForCplusplus    YES
+#define GccUsesGas             YES
+#define UseGas                 YES
+#define GnuCpp                 YES
+#define HasNdbm                        YES
+#define HasPutenv              YES
+#define HasSnprintf            YES
+#define HasBSD44Sockets        YES
+#ifndef HasLibCrypt
+# define HasLibCrypt           YES
+#endif
+#ifndef HasShm
+# define HasShm                        YES
+#endif
+#define HasWChar32             YES
+
+#define HasPosixThreads                YES
+#define ThreadedX              YES
+#define BuildThreadStubLibrary YES
+#define NeedUIThrStubs         YES
+#define HasThreadSafeAPI       NO
+#define ThreadsLibraries       -pthread
+XCOMM math.h uses _REENTRANT in FreeBSD, so we define it here too
+#define SystemMTDefines                -D_REENTRANT -D_THREAD_SAFE
+
+#define AvoidNullMakeCommand   YES
+#define StripInstalledPrograms YES
+#define CompressAllFonts       YES
+#define Malloc0ReturnsNull     YES
+#define NeedConstPrototypes    YES
+#define NeedFunctionPrototypes YES
+#define NeedNestedPrototypes   YES
+#define NeedVarargsPrototypes  YES
+#define NeedWidePrototypes     NO
+
+#define MkdirHierCmd           mkdir -p
+
+#ifndef HasMktemp
+#define HasMktemp              YES
+#endif
+
+#define CcCmd                  cc
+#define CppCmd                 cpp
+#define PreProcessCmd          CppCmd
+#define StandardCppDefines     -traditional
+#if defined(UseInstalled) && (!defined(XF86LinkKit) || !XF86LinkKit)
+#define DefaultCCOptions       /**/
+#else
+#define DefaultCCOptions       -ansi -pedantic -Dasm=__asm
+#endif
+#ifndef UseGnuMalloc
+#define UseGnuMalloc           NO
+#endif
+
+#define HasSetUserContext      YES
+
+#ifndef GnuMallocLibrary
+#define GnuMallocLibrary       -lgnumalloc
+#endif
+
+#ifndef HasZlib
+#define HasZlib                YES
+#endif
+
+#if HasPam
+#define PamLibrary             -lpam
+#endif
+
+#ifndef TkLibName
+#define TkLibName              tk80
+#endif
+#ifndef TkIncDir
+#define TkIncDir               /usr/local/include/tk8.0
+#endif
+#ifndef TclLibName
+#define TclLibName             tcl80
+#endif
+#ifndef TclIncDir
+#define TclIncDir              /usr/local/include/tcl8.0
+#endif
+
+#ifndef JpTkLibName
+#define JpTkLibName            tk80jp
+#endif
+#ifndef JpTkIncDir
+#define JpTkIncDir             /usr/local/include/tk8.0jp
+#endif
+#ifndef JpTclLibName
+#define JpTclLibName           tcl80jp
+#endif
+#ifndef JpTclIncDir
+#define JpTclIncDir            /usr/local/include/tcl8.0jp
+#endif
+
+#undef  InstallCmd
+#define InstallCmd             /usr/bin/install
+
+#define AsmElfDefines          -D__ELF__
+
+#if GccUsesGas
+# define GccGasOption          -DGCCUSESGAS
+# define AsmDefines            -DUSE_GAS AsmElfDefines
+#else
+# define GccGasOption /**/
+# define AsmDefines            AsmElfDefines
+#endif
+
+#define ServerExtraDefines GccGasOption XFree86ServerDefines
+
+#define StandardDefines        -DCSRG_BASED
+
+#define ServerOSDefines                XFree86ServerOSDefines -DDDXTIME
+#define XawI18nDefines         -DUSE_XWCHAR_STRING
+#define HasMakefileSafeInclude YES
+#define IncludeMakefile(file) @@# dependencies are in .depend
+#define DependFileName         .depend
+#ifndef BuildDynamicLoading
+#define BuildDynamicLoading    YES
+#endif
+#ifndef ForceNormalLib
+#define ForceNormalLib         YES
+#endif
+#define HasMkstemp             YES
+
+/* The GCC strength-reduce bug is fixed for FreeBSD 2.1.5 and later */
+#ifndef DefaultGcc2i386Opt
+#define DefaultGcc2i386Opt -O2
+#endif
+
+#ifdef i386Architecture
+# define OptimizedCDebugFlags DefaultGcc2i386Opt
+#else
+# define OptimizedCDebugFlags -O2
+#endif
+
+#ifndef PreIncDir
+# define PreIncDir     /usr/include
+#endif
+
+#define TroffCmd       groff -Tps
+#define NroffCmd       groff -Tascii
+#define SetTtyGroup    YES
+
+#ifndef ExtraFilesToClean
+# define ExtraFilesToClean *.core
+#endif
+
+#define DefaultUserPath                /bin:/usr/bin:/sbin:/usr/sbin:$(BINDIR):/usr/gnu/bin:/usr/local/bin
+#define DefaultSystemPath      /bin:/usr/bin:/sbin:/usr/sbin:$(BINDIR)
+#ifndef SystemManDirectory
+#define SystemManDirectory     /usr/share/man
+#endif
+
+#define InstKmemFlags  -g kmem -m 2755
+
+/*
+ * Compress manual pages
+ */
+#ifndef CompressManPages
+# define CompressManPages      YES
+#endif
+
+#if CompressManPages
+
+#ifndef CompressManCmd
+# define CompressManCmd                gzip -n
+#endif
+   COMPRESSMANCMD = CompressManCmd
+
+#ifndef InstallManPageLong
+#define InstallManPageLong(file,destdir,dest)                          @@\
+install.man:: file.man                                                 @@\
+       MakeDir($(DESTDIR)destdir)                                      @@\
+       $(RM) $(DESTDIR)destdir/dest.$(MANSUFFIX)*                      @@\
+       $(INSTALL) -c $(INSTMANFLAGS) file.man \                        @@\
+         $(DESTDIR)destdir/dest.$(MANSUFFIX)                           @@\
+       -$(COMPRESSMANCMD) $(DESTDIR)destdir/dest.$(MANSUFFIX)
+#endif
+
+#ifndef InstallGenManPageLong
+#define InstallGenManPageLong(file,destdir,dest,suffix)                        @@\
+install.man:: file.man                                                 @@\
+       MakeDir($(DESTDIR)destdir)                                      @@\
+       $(RM) $(DESTDIR)destdir/dest.suffix*                            @@\
+       $(INSTALL) -c $(INSTMANFLAGS) file.man \                        @@\
+         $(DESTDIR)destdir/dest.suffix                                 @@\
+       -$(COMPRESSMANCMD) $(DESTDIR)destdir/dest.suffix
+#endif
+
+#ifndef InstallMultipleMan
+#define InstallMultipleMan(list,dest)                                  @@\
+install.man:: list                                                     @@\
+       MakeDir($(DESTDIR)dest)                                         @@\
+       @case '${MFLAGS}' in *[i]*) set +e;; esac; \                    @@\
+       for i in list; do \                                             @@\
+               (set -x; \                                              @@\
+               MNAME=`echo $$i | cut -f1 -d.`; \                       @@\
+               $(RM) $(DESTDIR)dest/$${MNAME}*; \                      @@\
+               $(INSTALL) -c $(INSTMANFLAGS) $$i \                     @@\
+                 $(DESTDIR)dest/$${MNAME}.$(MANSUFFIX); \              @@\
+               $(COMPRESSMANCMD) $(DESTDIR)dest/$${MNAME}.$(MANSUFFIX)); \ @@\
+       done
+#endif
+
+/*
+ * InstallManPageAliases - install soft links for aliases.
+ */



Home | Main Index | Thread Index | Old Index