mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Unbreak on 6.x and 7.x
Approved by: portmgr (implicit)
This commit is contained in:
parent
97199bfa82
commit
f5c6cf19ce
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140788
@ -24,10 +24,6 @@ MYPORTDOCS= CHANGES COPYRIGHT INSTALL LICENSE MANIFEST OS-NOTES README.FIRST TOD
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 600000
|
||||
BROKEN= "Does not build on FreeBSD >= 6.x"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${SED} -e 's,/usr/local,${PREFIX},g' pkg-message > ${PKGMESSAGE}
|
||||
|
||||
|
16
sysutils/tct/files/patch-extras_entropy_makedefs
Normal file
16
sysutils/tct/files/patch-extras_entropy_makedefs
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- extras/entropy/makedefs.orig
|
||||
+++ extras/entropy/makedefs
|
||||
@@ -9,6 +9,10 @@
|
||||
FreeBSD.4*) DEFS="-DFREEBSD4"
|
||||
;;
|
||||
FreeBSD.5*) DEFS="-DFREEBSD5"
|
||||
+ ;;
|
||||
+ FreeBSD.6*) DEFS="-DFREEBSD6"
|
||||
+ ;;
|
||||
+ FreeBSD.7*) DEFS="-DFREEBSD7"
|
||||
;;
|
||||
OpenBSD.2*) DEFS="-DOPENBSD2"
|
||||
;;
|
16
sysutils/tct/files/patch-extras_findkey_makedefs
Normal file
16
sysutils/tct/files/patch-extras_findkey_makedefs
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- extras/findkey/makedefs.orig
|
||||
+++ extras/findkey/makedefs
|
||||
@@ -9,6 +9,10 @@
|
||||
FreeBSD.4*) DEFS="-DFREEBSD4"
|
||||
;;
|
||||
FreeBSD.5*) DEFS="-DFREEBSD5"
|
||||
+ ;;
|
||||
+ FreeBSD.6*) DEFS="-DFREEBSD6"
|
||||
+ ;;
|
||||
+ FreeBSD.7*) DEFS="-DFREEBSD7"
|
||||
;;
|
||||
OpenBSD.2*) DEFS="-DOPENBSD2"
|
||||
;;
|
16
sysutils/tct/files/patch-src_aux_makedefs
Normal file
16
sysutils/tct/files/patch-src_aux_makedefs
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/aux/makedefs.orig
|
||||
+++ src/aux/makedefs
|
||||
@@ -10,6 +10,10 @@
|
||||
;;
|
||||
FreeBSD.5*) DEFS="-DFREEBSD5"
|
||||
;;
|
||||
+ FreeBSD.6*) DEFS="-DFREEBSD6"
|
||||
+ ;;
|
||||
+ FreeBSD.7*) DEFS="-DFREEBSD7"
|
||||
+ ;;
|
||||
OpenBSD.2*) DEFS="-DOPENBSD2"
|
||||
;;
|
||||
OpenBSD.3*) DEFS="-DOPENBSD3"
|
16
sysutils/tct/files/patch-src_file_makedefs
Normal file
16
sysutils/tct/files/patch-src_file_makedefs
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/file/makedefs.orig
|
||||
+++ src/file/makedefs
|
||||
@@ -9,6 +9,10 @@
|
||||
FreeBSD.4*) DEFS="-DFREEBSD4"
|
||||
;;
|
||||
FreeBSD.5*) DEFS="-DFREEBSD5"
|
||||
+ ;;
|
||||
+ FreeBSD.6*) DEFS="-DFREEBSD6"
|
||||
+ ;;
|
||||
+ FreeBSD.7*) DEFS="-DFREEBSD7"
|
||||
;;
|
||||
OpenBSD.2*) DEFS="-DOPENBSD2"
|
||||
;;
|
14
sysutils/tct/files/patch-src_fstools_fs__tools.h
Normal file
14
sysutils/tct/files/patch-src_fstools_fs__tools.h
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/fstools/fs_tools.h.orig
|
||||
+++ src/fstools/fs_tools.h
|
||||
@@ -115,7 +115,7 @@
|
||||
#define INO_TO_CG ino_to_cg
|
||||
#endif
|
||||
|
||||
-#if defined(FREEBSD5)
|
||||
+#if defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7)
|
||||
#define SUPPORTED
|
||||
#include <sys/vnode.h>
|
||||
#include <ufs/ufs/quota.h>
|
16
sysutils/tct/files/patch-src_fstools_makedefs
Normal file
16
sysutils/tct/files/patch-src_fstools_makedefs
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/fstools/makedefs.orig
|
||||
+++ src/fstools/makedefs
|
||||
@@ -9,6 +9,10 @@
|
||||
FreeBSD.4*) DEFS="-DFREEBSD4"
|
||||
;;
|
||||
FreeBSD.5*) DEFS="-DFREEBSD5"
|
||||
+ ;;
|
||||
+ FreeBSD.6*) DEFS="-DFREEBSD6"
|
||||
+ ;;
|
||||
+ FreeBSD.7*) DEFS="-DFREEBSD7"
|
||||
;;
|
||||
OpenBSD.2*) DEFS="-DOPENBSD2"
|
||||
;;
|
16
sysutils/tct/files/patch-src_lastcomm_makedefs
Normal file
16
sysutils/tct/files/patch-src_lastcomm_makedefs
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/lastcomm/makedefs.orig
|
||||
+++ src/lastcomm/makedefs
|
||||
@@ -9,6 +9,10 @@
|
||||
FreeBSD.4*) DEFS="-DFREEBSD4"
|
||||
;;
|
||||
FreeBSD.5*) DEFS="-DFREEBSD5"
|
||||
+ ;;
|
||||
+ FreeBSD.6*) DEFS="-DFREEBSD6"
|
||||
+ ;;
|
||||
+ FreeBSD.7*) DEFS="-DFREEBSD7"
|
||||
;;
|
||||
OpenBSD.3*) DEFS="-DOPENBSD3"
|
||||
;;
|
14
sysutils/tct/files/patch-src_lastcomm_sys__defs.h
Normal file
14
sysutils/tct/files/patch-src_lastcomm_sys__defs.h
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/lastcomm/sys_defs.h.orig
|
||||
+++ src/lastcomm/sys_defs.h
|
||||
@@ -6,7 +6,7 @@
|
||||
* This software is distributed under the IBM Public License.
|
||||
*/
|
||||
#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
|
||||
- || defined(FREEBSD5) \
|
||||
+ || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \
|
||||
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|
||||
|| defined(OPENBSD2) || defined(OPENBSD3)
|
||||
#define SUPPORTED
|
16
sysutils/tct/files/patch-src_major__minor_makedefs
Normal file
16
sysutils/tct/files/patch-src_major__minor_makedefs
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/major_minor/makedefs.orig
|
||||
+++ src/major_minor/makedefs
|
||||
@@ -9,6 +9,10 @@
|
||||
FreeBSD.4*) DEFS="-DFREEBSD4"
|
||||
;;
|
||||
FreeBSD.5*) DEFS="-DFREEBSD5"
|
||||
+ ;;
|
||||
+ FreeBSD.6*) DEFS="-DFREEBSD6"
|
||||
+ ;;
|
||||
+ FreeBSD.7*) DEFS="-DFREEBSD7"
|
||||
;;
|
||||
OpenBSD.2*) DEFS="-DOPENBSD2"
|
||||
;;
|
16
sysutils/tct/files/patch-src_misc_makedefs
Normal file
16
sysutils/tct/files/patch-src_misc_makedefs
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/misc/makedefs.orig
|
||||
+++ src/misc/makedefs
|
||||
@@ -9,6 +9,10 @@
|
||||
FreeBSD.4*) DEFS="-DFREEBSD4"
|
||||
;;
|
||||
FreeBSD.5*) DEFS="-DFREEBSD5"
|
||||
+ ;;
|
||||
+ FreeBSD.6*) DEFS="-DFREEBSD6"
|
||||
+ ;;
|
||||
+ FreeBSD.7*) DEFS="-DFREEBSD7"
|
||||
;;
|
||||
OpenBSD.2*) DEFS="-DOPENBSD2"
|
||||
;;
|
18
sysutils/tct/files/patch-src_pcat_makedefs
Normal file
18
sysutils/tct/files/patch-src_pcat_makedefs
Normal file
@ -0,0 +1,18 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/pcat/makedefs.orig
|
||||
+++ src/pcat/makedefs
|
||||
@@ -13,6 +13,12 @@
|
||||
;;
|
||||
FreeBSD.5*) DEFS="-DFREEBSD5"
|
||||
SYSLIBS="-lkvm"
|
||||
+ ;;
|
||||
+ FreeBSD.6*) DEFS="-DFREEBSD6"
|
||||
+ SYSLIBS="-lkvm"
|
||||
+ ;;
|
||||
+ FreeBSD.7*) DEFS="-DFREEBSD7"
|
||||
+ SYSLIBS="-lkvm"
|
||||
;;
|
||||
OpenBSD.2*) DEFS="-DOPENBSD2"
|
||||
SYSLIBS="-lkvm"
|
14
sysutils/tct/files/patch-src_pcat_pcat.c
Normal file
14
sysutils/tct/files/patch-src_pcat_pcat.c
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/pcat/pcat.c.orig
|
||||
+++ src/pcat/pcat.c
|
||||
@@ -114,7 +114,7 @@
|
||||
* grope kernel memory instead.
|
||||
*/
|
||||
#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
|
||||
- || defined(FREEBSD5)
|
||||
+ || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7)
|
||||
#define SUPPORTED
|
||||
#include <sys/param.h>
|
||||
#include <sys/user.h>
|
Loading…
Reference in New Issue
Block a user