pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Initial definitions for FreeMiNT - also needs patch...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6ac8324df33a
branches:  trunk
changeset: 555541:6ac8324df33a
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Mar 05 00:02:44 2009 +0000

description:
Initial definitions for FreeMiNT - also needs patches to pkgtools

diffstat:

 mk/gnu-config/config.sub   |    2 +-
 mk/platform/FreeMiNT.mk    |   39 +++++++++++++++
 mk/tools/tools.FreeMiNT.mk |  110 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 150 insertions(+), 1 deletions(-)

diffs (169 lines):

diff -r 751af96be15f -r 6ac8324df33a mk/gnu-config/config.sub
--- a/mk/gnu-config/config.sub  Wed Mar 04 19:47:20 2009 +0000
+++ b/mk/gnu-config/config.sub  Thu Mar 05 00:02:44 2009 +0000
@@ -226,7 +226,7 @@
        -psos*)
                os=-psos
                ;;
-       -mint | -mint[0-9]*)
+       -freemint | -mint | -mint[0-9]*)
                basic_machine=m68k-atari
                os=-mint
                ;;
diff -r 751af96be15f -r 6ac8324df33a mk/platform/FreeMiNT.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mk/platform/FreeMiNT.mk   Thu Mar 05 00:02:44 2009 +0000
@@ -0,0 +1,39 @@
+# $NetBSD: FreeMiNT.mk,v 1.1 2009/03/05 00:02:44 abs Exp $
+#
+# Variable definitions for the FreeMiNT operating system.
+
+ECHO_N?=       ${ECHO} -n
+IMAKE_MAKE?=   ${MAKE}         # program which gets invoked by imake
+PKGLOCALEDIR=  share
+PS?=           /bin/ps
+STRIP?=                /usr/bin/strip
+SU?=           /bin/su
+TYPE?=         type                            # Shell builtin
+
+USERADD?=      /usr/sbin/useradd
+GROUPADD?=     /usr/sbin/groupadd
+
+CPP_PRECOMP_FLAGS?=    # unset
+DEF_UMASK?=            0022
+PKG_TOOLS_BIN?=                ${LOCALBASE}/sbin
+ROOT_CMD?=             ${SU} - root -c
+ROOT_USER?=            root
+ROOT_GROUP?=           root
+ULIMIT_CMD_datasize?=  ulimit -d `ulimit -H -d`
+ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s`
+ULIMIT_CMD_memorysize?=        ulimit -m `ulimit -H -m`
+
+_OPSYS_EMULDIR.osf1=   # empty
+
+_OPSYS_HAS_INET6=      no      # IPv6 is not standard
+_OPSYS_HAS_JAVA=       no      # Java is standard
+_OPSYS_HAS_MANZ=       no      # MANZ controls gzipping of man pages
+_OPSYS_HAS_OSSAUDIO=   no      # libossaudio is available
+_OPSYS_PERL_REQD=              # no base version of perl required
+_OPSYS_PTHREAD_AUTO=   no      # -lpthread needed for pthreads
+_PATCH_CAN_BACKUP=     yes     # native patch(1) can make backups
+_OPSYS_SHLIB_TYPE=     none    # shared lib type
+_PATCH_BACKUP_ARG?=    -b -V simple -z # switch to patch(1) for backup suffix
+
+DEFAULT_SERIAL_DEVICE?=        /dev/modem1
+SERIAL_DEVICES?=       /dev/modem1 
diff -r 751af96be15f -r 6ac8324df33a mk/tools/tools.FreeMiNT.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mk/tools/tools.FreeMiNT.mk        Thu Mar 05 00:02:44 2009 +0000
@@ -0,0 +1,110 @@
+# $NetBSD: tools.FreeMiNT.mk,v 1.1 2009/03/05 00:02:44 abs Exp $
+#
+# System-supplied tools for the FreeMiNT operating system.
+
+TOOLS_PLATFORM.[?=             [                       # shell builtin
+TOOLS_PLATFORM.awk?=           /bin/awk
+TOOLS_PLATFORM.basename?=      /bin/basename
+TOOLS_PLATFORM.byacc?=         /usr/bin/yacc
+TOOLS_PLATFORM.bzcat?=         /usr/bin/bzcat
+TOOLS_PLATFORM.bzip2?=         /usr/bin/bzip2
+TOOLS_PLATFORM.cat?=           /bin/cat
+TOOLS_PLATFORM.chgrp?=         /bin/chgrp
+TOOLS_PLATFORM.chmod?=         /bin/chmod
+TOOLS_PLATFORM.chown?=         /bin/chown
+TOOLS_PLATFORM.cmp?=           /usr/bin/cmp
+TOOLS_PLATFORM.cp?=            /bin/cp
+TOOLS_PLATFORM.cut?=           /usr/bin/cut
+TOOLS_PLATFORM.date?=          /bin/date
+TOOLS_PLATFORM.diff?=          /usr/bin/diff
+TOOLS_PLATFORM.diff3?=         /usr/bin/diff3
+TOOLS_PLATFORM.dirname?=       /usr/bin/dirname
+TOOLS_PLATFORM.echo?=          echo                    # shell builtin
+TOOLS_PLATFORM.egrep?=         /bin/egrep
+TOOLS_PLATFORM.env?=           /usr/bin/env
+TOOLS_PLATFORM.expr?=          /usr/bin/expr
+TOOLS_PLATFORM.false?=         false                   # shell builtin
+TOOLS_PLATFORM.file?=          /usr/bin/printf "%s: text\n"    # Hack
+TOOLS_PLATFORM.fgrep?=         /bin/fgrep
+TOOLS_PLATFORM.find?=          /usr/bin/find
+TOOLS_PLATFORM.flex?=          /usr/bin/lex
+TOOLS_PLATFORM.grep?=          /bin/grep
+TOOLS_PLATFORM.groff?=         /usr/bin/groff
+TOOLS_PLATFORM.gsed?=          ${TOOLS_PLATFORM.sed}           # GNUish
+TOOLS_PLATFORM.gsoelim?=       ${TOOLS_PLATFORM.soelim}        # GNUish
+TOOLS_PLATFORM.gunzip?=                /bin/gunzip -f
+TOOLS_PLATFORM.gzcat?=         /bin/gunzip -c
+TOOLS_PLATFORM.gzip?=          /usr/bin/gzip -nf ${GZIP}
+TOOLS_PLATFORM.head?=          /usr/bin/head
+TOOLS_PLATFORM.hostname?=      /bin/hostname
+TOOLS_PLATFORM.id?=            /usr/bin/id
+.if empty(USE_CROSS_COMPILE:M[yY][eE][sS])
+TOOLS_PLATFORM.install?=       /usr/bin/install
+.else
+TOOLS_PLATFORM.install?=       ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-install
+.endif
+TOOLS_PLATFORM.install-info?=  /sbin/install-info
+TOOLS_PLATFORM.lex?=           /usr/bin/lex
+TOOLS_PLATFORM.ln?=            /bin/ln
+TOOLS_PLATFORM.ls?=            /bin/ls
+TOOLS_PLATFORM.m4?=            /usr/bin/m4
+TOOLS_PLATFORM.makeinfo?=      /usr/bin/makeinfo
+TOOLS_PLATFORM.mkdir?=         /bin/mkdir -p
+TOOLS_PLATFORM.mktemp?=                /bin/mktemp
+TOOLS_PLATFORM.msgfmt?=                /usr/bin/msgfmt
+TOOLS_PLATFORM.mv?=            /bin/mv
+TOOLS_PLATFORM.nice?=          /bin/nice
+TOOLS_PLATFORM.nroff?=         /usr/bin/nroff
+TOOLS_PLATFORM.openssl?=       /usr/bin/openssl
+TOOLS_PLATFORM.patch?=         /usr/bin/patch
+TOOLS_PLATFORM.printf?=                /usr/bin/printf
+TOOLS_PLATFORM.pwd?=           /bin/pwd
+.if empty(USE_CROSS_COMPILE:M[yY][eE][sS])
+TOOLS_PLATFORM.readelf?=       /usr/bin/readelf
+.else
+TOOLS_PLATFORM.readelf?=       ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-readelf
+.endif
+TOOLS_PLATFORM.rm?=            /bin/rm
+TOOLS_PLATFORM.rmdir?=         /bin/rmdir
+TOOLS_PLATFORM.sdiff?=         /usr/bin/sdiff
+TOOLS_PLATFORM.sed?=           /bin/sed
+TOOLS_PLATFORM.sh?=            /bin/sh
+TOOLS_PLATFORM.sleep?=         /bin/sleep
+TOOLS_PLATFORM.soelim?=                /usr/bin/soelim
+TOOLS_PLATFORM.sort?=          /bin/sort
+.if empty(USE_CROSS_COMPILE:M[yY][eE][sS])
+TOOLS_PLATFORM.strip?=         /usr/bin/strip
+.else
+TOOLS_PLATFORM.strip?=         ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-strip
+.endif
+
+TOOLS_PLATFORM.tail?=          /usr/bin/tail
+TOOLS_PLATFORM.tar?=           /bin/tar
+TOOLS_PLATFORM.tbl?=           /usr/bin/tbl
+TOOLS_PLATFORM.tee?=           /usr/bin/tee
+TOOLS_PLATFORM.test?=          test                    # shell builtin
+TOOLS_PLATFORM.touch?=         /bin/touch
+TOOLS_PLATFORM.tr?=            /usr/bin/tr
+TOOLS_PLATFORM.true?=          true                    # shell builtin
+TOOLS_PLATFORM.tsort?=         /usr/bin/tsort
+TOOLS_PLATFORM.wc?=            /usr/bin/wc
+TOOLS_PLATFORM.xargs?=         /usr/bin/xargs
+TOOLS_PLATFORM.xgettext?=      /usr/bin/xgettext
+TOOLS_PLATFORM.yacc?=          /usr/bin/yacc
+
+.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
+.  for _t_ in ar as ld nm objdump ranlib readelf strip
+TOOLS_PATH.${MACHINE_GNU_PLATFORM}-${_t_}?=    \
+       ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-${_t_}
+TOOLS_CREATE+= ${MACHINE_GNU_PLATFORM}-${_t_}
+.  endfor
+
+TOOLS_PATH.ar?=                ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-ar
+TOOLS_CREATE+=                 ar
+TOOLS_PATH.ranlib?=            ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-ranlib
+TOOLS_CREATE+=                 ranlib
+
+NATIVE_CC:=    /usr/bin/cc
+CC=            ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-gcc
+
+.endif



Home | Main Index | Thread Index | Old Index