aboutsummaryrefslogtreecommitdiff
path: root/net/samba3
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2008-08-20 00:57:32 +0000
committerAde Lovett <ade@FreeBSD.org>2008-08-20 00:57:32 +0000
commit771ea13f4111cf3212b9c32c18ac5fc1975d483d (patch)
treeb4d0fdbbaaf974fbf1b69ebcbe9a956cb4eed79d /net/samba3
parent582d67b410e45602807f37bf0e20fd522b31b033 (diff)
downloadports-771ea13f4111cf3212b9c32c18ac5fc1975d483d.tar.gz
ports-771ea13f4111cf3212b9c32c18ac5fc1975d483d.zip
Notes
Diffstat (limited to 'net/samba3')
-rw-r--r--net/samba3/Makefile2
-rw-r--r--net/samba3/files/patch-lib_replace_autoconf-2.60.m415
2 files changed, 16 insertions, 1 deletions
diff --git a/net/samba3/Makefile b/net/samba3/Makefile
index e92b6f15cfe6..72caa523c0da 100644
--- a/net/samba3/Makefile
+++ b/net/samba3/Makefile
@@ -21,7 +21,7 @@ CONFLICTS?= ja-samba-2.* ja-samba-3.* samba-2.* sharity-light-1.* tdb-1.*
USE_ICONV= yes
GNU_CONFIGURE= yes
-USE_AUTOTOOLS= autoconf:261 autoheader:261
+USE_AUTOTOOLS= autoconf:262 autoheader:262
AUTOHEADER_ARGS= -I${WRKSRC} -I${WRKSRC}/lib/replace
AUTOCONF_ARGS= -I${WRKSRC} -I${WRKSRC}/lib/replace
diff --git a/net/samba3/files/patch-lib_replace_autoconf-2.60.m4 b/net/samba3/files/patch-lib_replace_autoconf-2.60.m4
new file mode 100644
index 000000000000..54fbfdc699de
--- /dev/null
+++ b/net/samba3/files/patch-lib_replace_autoconf-2.60.m4
@@ -0,0 +1,15 @@
+--- lib/replace/autoconf-2.60.m4.orig 2007-11-15 03:15:03.000000000 +0000
++++ lib/replace/autoconf-2.60.m4 2008-06-12 17:56:42.000000000 +0000
+@@ -179,6 +179,7 @@
+ # ------------------------
+ # Enable extensions on systems that normally disable them,
+ # typically due to standards-conformance issues.
++m4_ifndef([AC_USE_SYSTEM_EXTENSIONS],[
+ AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
+ [
+ AC_BEFORE([$0], [AC_COMPILE_IFELSE])
+@@ -208,3 +209,4 @@
+ AC_DEFINE([__EXTENSIONS__])
+ AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
+ ])
++])