opnsense-ports/sysutils/memdump/files/patch-makedefs
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

21 lines
639 B
Text

--- ./makedefs.orig 2005-08-30 23:03:40.000000000 +0000
+++ ./makedefs 2007-11-30 18:54:11.000000000 +0000
@@ -2,17 +2,7 @@ SYSTEM=`(uname -s) 2>/dev/null`
RELEASE=`(uname -r) 2>/dev/null`
case "$SYSTEM.$RELEASE" in
- FreeBSD.2*) DEFS="-DFREEBSD2"
- ;;
- FreeBSD.3*) DEFS="-DFREEBSD3"
- ;;
- FreeBSD.4*) DEFS="-DFREEBSD4"
- ;;
- FreeBSD.5*) DEFS="-DFREEBSD5"
- ;;
- FreeBSD.6*) DEFS="-DFREEBSD6"
- ;;
- FreeBSD.7*) DEFS="-DFREEBSD7"
+ FreeBSD.*) DEFS="-DFREEBSD"
;;
OpenBSD.2*) DEFS="-DOPENBSD2"
;;