aboutsummaryrefslogtreecommitdiff
path: root/net/samba35/Makefile
diff options
context:
space:
mode:
authorTimur I. Bakeyev <timur@FreeBSD.org>2011-06-20 02:56:30 +0000
committerTimur I. Bakeyev <timur@FreeBSD.org>2011-06-20 02:56:30 +0000
commit2a017b7f6d7bafa12fc257234fabfc15e28bfbe3 (patch)
tree16a0154f5e019babb59b903c6dbebc01926e602d /net/samba35/Makefile
parent4af2ff62014241000c7f8823f7c307b23bc129f2 (diff)
Notes
Diffstat (limited to 'net/samba35/Makefile')
-rw-r--r--net/samba35/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/net/samba35/Makefile b/net/samba35/Makefile
index d7a884176615..9571355bb222 100644
--- a/net/samba35/Makefile
+++ b/net/samba35/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= ${SAMBA_BASENAME}35
-PORTVERSION= 3.5.6
-PORTREVISION?= 2
+PORTVERSION= 3.5.9
+PORTREVISION?= 0
CATEGORIES?= net
MASTER_SITES= ${MASTER_SITE_SAMBA}
MASTER_SITE_SUBDIR= . old-versions rc pre
@@ -16,7 +16,7 @@ DISTNAME= ${SAMBA_BASENAME}-${PORTVERSION:S|.p|pre|:S|.r|rc|:S|.t|tp|:S|.a|alph
MAINTAINER?= timur@FreeBSD.org
COMMENT?= A free SMB and CIFS client and server for UNIX
-CONFLICTS?= *samba3[0-4]-3.* sharity-light-1.*
+CONFLICTS?= *samba3[2-4]-3.*
# Additional patches from Sernet.de
PATCH_STRIP= -p1
EXTRA_PATCHES= ${PATCHDIR}/sernet.patch
@@ -74,7 +74,7 @@ CONFIGURE_ARGS+= --exec-prefix="${PREFIX}" \
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LDFLAGS="${PTHREAD_LIBS}"
# pkg-config is used to find talloc
@@ -94,7 +94,7 @@ CONFIGURE_ARGS+= --without-libtdb --enable-external-libtdb
BUILD_DEPENDS+= talloc>=2.0.1:${PORTSDIR}/devel/talloc
RUN_DEPENDS+= talloc>=2.0.1:${PORTSDIR}/devel/talloc
CONFIGURE_ARGS+= --without-libtalloc --enable-external-libtalloc
-# These options are common for all (sub)ports --disable-pie --disable-as-needed
+# These options are common for all (sub)ports
CONFIGURE_ARGS+= --with-libiconv="${LOCALBASE}"
.if !defined(SAMBA_SUBPORT)
@@ -121,10 +121,15 @@ OPTIONS= LDAP "With LDAP support" on \
.endif
.include <bsd.port.options.mk>
+
# XXX
.if ${OSVERSION} >= 701000 && ${OSVERSION} < 702000
IGNORE= databases/tdb crashes on FreeBSD 7.1. Please, consider upgrading to 7.2 or higher
.endif
+# There are reports that on ARM PIE makes binaries to core dump(#149186)
+.if ${ARCH} == "arm"
+CONFIGURE_ARGS+= --disable-pie
+.endif
.if defined(SAMBA_SUBPORT)
# Switch off all extra functionality