[Midnightbsd-cvs] mports: games/qstat: Just some tweaks for a "native" port.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Mar 22 12:25:16 EDT 2008
Log Message:
-----------
Just some tweaks for a "native" port.
Modified Files:
--------------
mports/games/qstat:
Makefile (r1.4 -> r1.5)
Added Files:
-----------
mports/games/qstat/files:
patch-config.guess (r1.1)
patch-config.sub (r1.1)
patch-template.c (r1.1)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/games/qstat/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -L games/qstat/Makefile -L games/qstat/Makefile -u -r1.4 -r1.5
--- games/qstat/Makefile
+++ games/qstat/Makefile
@@ -8,6 +8,7 @@
PORTNAME= qstat
PORTVERSION= 2.11
+PORTREVISION= 1
CATEGORIES= games net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
--- /dev/null
+++ games/qstat/files/patch-template.c
@@ -0,0 +1,11 @@
+--- template.c.orig Sat Mar 22 12:22:31 2008
++++ template.c Sat Mar 22 12:22:50 2008
+@@ -21,7 +21,7 @@
+ #include <ctype.h>
+ #include <time.h>
+
+-#if defined(__hpux) || defined(_AIX) || defined(__FreeBSD__)
++#if defined(__hpux) || defined(_AIX) || defined(__FreeBSD__) || defined(__MidnightBSD__)
+ #include <sys/types.h>
+ #endif
+
--- /dev/null
+++ games/qstat/files/patch-config.sub
@@ -0,0 +1,11 @@
+--- config.sub.orig Sat Mar 22 12:14:05 2008
++++ config.sub Sat Mar 22 12:16:03 2008
+@@ -1174,7 +1174,7 @@
+ | -aos* \
+ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
+ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
+- | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
++ | -hiux* | -386bsd* | -knetbsd* | -midnightbsd* | -mirbsd* | -netbsd* | -openbsd* \
+ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
+ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
+ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
--- /dev/null
+++ games/qstat/files/patch-config.guess
@@ -0,0 +1,12 @@
+--- config.guess.orig Sat Mar 22 12:14:01 2008
++++ config.guess Sat Mar 22 12:14:44 2008
+@@ -776,6 +776,9 @@
+ *:FreeBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+ exit ;;
++ *:MidnightBSD:*.*)
++ echo ${UNAME_MACHINE}-unknown-midnightbsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
++ exit ;;
+ i*:CYGWIN*:*)
+ echo ${UNAME_MACHINE}-pc-cygwin
+ exit ;;
More information about the Midnightbsd-cvs
mailing list