summaryrefslogtreecommitdiffstats
path: root/debian/patches/02_kfreebsd_support.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/02_kfreebsd_support.diff')
-rw-r--r--debian/patches/02_kfreebsd_support.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/02_kfreebsd_support.diff b/debian/patches/02_kfreebsd_support.diff
new file mode 100644
index 0000000..4bce5bc
--- /dev/null
+++ b/debian/patches/02_kfreebsd_support.diff
@@ -0,0 +1,15 @@
+Index: postfix/makedefs
+===================================================================
+--- postfix.orig/makedefs
++++ postfix/makedefs
+@@ -595,8 +595,8 @@ EOF
+ : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
+ : ${PLUGIN_LD="${CC-gcc} -shared"}
+ ;;
+- GNU.0*|GNU/kFreeBSD.[567]*)
+- SYSTYPE=GNU0
++ GNU.0*|GNU/kFreeBSD.*)
++ SYSTYPE=GNU0
+ case "$CCARGS" in
+ *-DNO_DB*) ;;
+ *) if [ -f /usr/include/db.h ]