Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 142671
Collapse All | Expand All

(-)makedefs.orig (+20 lines)
Lines 117-122 Link Here
117
  FreeBSD.5*)	SYSTYPE=FREEBSD5
117
  FreeBSD.5*)	SYSTYPE=FREEBSD5
118
		;;
118
		;;
119
  FreeBSD.6*)	SYSTYPE=FREEBSD6
119
  FreeBSD.6*)	SYSTYPE=FREEBSD6
120
                  case "`uname -v`" in
121
                  Gentoo*) SYSTYPE=LINUX2
122
                          if [ -f /usr/include/db.h ]
123
                          then
124
                              : we are all set
125
                          elif [ -f /usr/include/db4/db.h ]
126
                          then
127
                              CCARGS="$CCARGS -I/usr/include/db4"
128
                          else
129
                              # No, we're not going to try db1 db2 db3 etc.
130
                              # On a properly installed system, Postfix builds
131
                              # by including <db.h> and by linking with -ldb
132
                              echo "No <db.h> include file found." 1>&2
133
                              echo "Install the appropriate db*-devel package first." 1>&2
134
                              echo "See the RELEASE_NOTES file for more information." 1>&2
135
                              exit 1
136
                          fi
137
                          SYSLIBS="-ldb"
138
                          ;;
139
                  esac
120
		;;
140
		;;
121
  OpenBSD.2*)	SYSTYPE=OPENBSD2
141
  OpenBSD.2*)	SYSTYPE=OPENBSD2
122
		;;
142
		;;

Return to bug 142671