Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 May 2015 21:26:37 +0000 (UTC)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r387185 - in head/devel/apr2: . files
Message-ID:  <201505232126.t4NLQbpc002109@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ohauer
Date: Sat May 23 21:26:36 2015
New Revision: 387185
URL: https://svnweb.freebsd.org/changeset/ports/387185

Log:
  - update to r1676013
  - make threads mandatory
  - enable posix-shm

Modified:
  head/devel/apr2/Makefile
  head/devel/apr2/distinfo
  head/devel/apr2/files/patch-build__apr_hints.m4
  head/devel/apr2/files/patch-build__iconv.m4
  head/devel/apr2/files/patch-buildconf

Modified: head/devel/apr2/Makefile
==============================================================================
--- head/devel/apr2/Makefile	Sat May 23 20:51:38 2015	(r387184)
+++ head/devel/apr2/Makefile	Sat May 23 21:26:36 2015	(r387185)
@@ -5,8 +5,8 @@ PORTNAME=	apr
 PORTVERSION=	2.0.${SNAPDATE}
 CATEGORIES=	devel
 MASTER_SITES=	LOCAL/ohauer
-DISTNAME=	${PORTNAME}_${SNAPDATE}
 PKGNAMESUFFIX=	2
+DISTNAME=	${PORTNAME}_${SNAPDATE}
 
 MAINTAINER=	apache@FreeBSD.org
 COMMENT=	Apache Portability Library
@@ -17,10 +17,11 @@ LIB_DEPENDS=	libexpat.so:${PORTSDIR}/tex
 
 NO_PACKAGE=	yes
 
-SNAPDATE=	20140626144503
+# r1676013
+SNAPDATE=	20150425134304
 
 USES=		autoreconf:build cpe iconv libtool pathfix perl5 \
-		python:2,build tar:xz
+		python:2.7,build tar:xz
 CPE_PRODUCT=	apr-util
 CPE_VENDOR=	apache
 CPE_VERSION=	${PORTVERSION:S|.${SNAPDATE}||}
@@ -31,7 +32,7 @@ GNU_CONFIGURE=		yes
 OPTIONS_SUB=		yes
 OPTIONS_DEFINE=		DEVELOPER_ONLY
 OPTIONS_GROUP=		APR APU
-OPTIONS_GROUP_APR=	THREADS IPV6 DEVRANDOM
+OPTIONS_GROUP_APR=	IPV6 DEVRANDOM
 OPTIONS_GROUP_APU=	BDB GDBM MYSQL NDBM PGSQL SQLITE
 OPTIONS_RADIO=		CRYPTO
 OPTIONS_RADIO_CRYPTO=	SSL NSS
@@ -46,9 +47,6 @@ SSL_DESC=		OpenSSL crypto driver
 WRKSRC=	${WRKDIR}/apr
 
 DEVRANDOM_CONFIGURE_WITH=	devrandom
-# is there a valid requirement to build without threads
-# if not make thread a mandantory default
-THREADS_CONFIGURE_ENABLE=	threads
 
 # APR-Util Options
 BDB_USE=		BDB=48+
@@ -80,6 +78,8 @@ NSS_CONFIGURE_WITH=	nss=${LOCALBASE}
 
 CONFIGURE_ENV+=	CC="${CC}"
 CONFIGURE_ARGS+=--with-installbuilddir=${DATADIR}/build-2 \
+		--enable-threads \
+		--enable-posix-shm \
 		--with-expat=${LOCALBASE} \
 		--with-iconv=${ICONV_PREFIX}
 
@@ -107,7 +107,7 @@ CONFIGURE_ARGS+=	--without-crypto
 
 post-patch:
 	${REINPLACE_CMD} -e 's|%%OSVERSION%%|${OSVERSION}|g' ${WRKSRC}/build/apr_hints.m4
-	${REINPLACE_CMD} -e '1s|${SETENV} python|${LOCALBASE}/bin/${PYTHON_VERSION}|' \
+	${REINPLACE_CMD} -e '1s|${SETENV} python|${PYTHON_CMD}|' \
 		${WRKSRC}/build/gen-build.py
 	${REINPLACE_CMD} -e 's|PrintPath python|PrintPath ${PYTHON_VERSION}|' \
 		-e 's|python -c|${PYTHON_VERSION} -c|' \

Modified: head/devel/apr2/distinfo
==============================================================================
--- head/devel/apr2/distinfo	Sat May 23 20:51:38 2015	(r387184)
+++ head/devel/apr2/distinfo	Sat May 23 21:26:36 2015	(r387185)
@@ -1,2 +1,2 @@
-SHA256 (apr_20140626144503.tar.xz) = b9e5a644c6852ec1980ddbc2724e3fe24584104e40fecbc5c87ddf0b34a1c17e
-SIZE (apr_20140626144503.tar.xz) = 727996
+SHA256 (apr_20150425134304.tar.xz) = 4eecb26847a61b5b65e88c6c5ff00f970073db63330358d0b7cab5e961b889e6
+SIZE (apr_20150425134304.tar.xz) = 736364

Modified: head/devel/apr2/files/patch-build__apr_hints.m4
==============================================================================
--- head/devel/apr2/files/patch-build__apr_hints.m4	Sat May 23 20:51:38 2015	(r387184)
+++ head/devel/apr2/files/patch-build__apr_hints.m4	Sat May 23 21:26:36 2015	(r387185)
@@ -1,6 +1,6 @@
---- ./build/apr_hints.m4.orig	2010-02-06 16:14:03.000000000 -0500
-+++ ./build/apr_hints.m4	2010-05-26 23:19:19.263812317 -0400
-@@ -159,15 +159,11 @@
+--- build/apr_hints.m4.orig	2015-04-05 07:04:48 UTC
++++ build/apr_hints.m4
+@@ -147,15 +147,11 @@ dnl	       # Not a problem in 10.20.  Ot
  	;;
      *-freebsd*)
          APR_SETIFNULL(apr_lock_method, [USE_FLOCK_SERIALIZE])

Modified: head/devel/apr2/files/patch-build__iconv.m4
==============================================================================
--- head/devel/apr2/files/patch-build__iconv.m4	Sat May 23 20:51:38 2015	(r387184)
+++ head/devel/apr2/files/patch-build__iconv.m4	Sat May 23 21:26:36 2015	(r387185)
@@ -1,6 +1,6 @@
---- ./build/iconv.m4.orig	2010-05-26 23:19:28.011405098 -0400
-+++ ./build/iconv.m4	2010-05-26 23:19:37.002271826 -0400
-@@ -44,7 +44,7 @@
+--- build/iconv.m4.orig	2015-01-02 17:14:32 UTC
++++ build/iconv.m4
+@@ -44,7 +44,7 @@ AC_ARG_WITH(iconv,[  --with-iconv[=DIR] 
        if test -f "$apu_iconv_dir/include/iconv.h"; then
          have_iconv="1"
          APR_ADDTO(CPPFLAGS,[-I$apu_iconv_dir/include])

Modified: head/devel/apr2/files/patch-buildconf
==============================================================================
--- head/devel/apr2/files/patch-buildconf	Sat May 23 20:51:38 2015	(r387184)
+++ head/devel/apr2/files/patch-buildconf	Sat May 23 21:26:36 2015	(r387185)
@@ -1,6 +1,6 @@
---- ./buildconf.orig	2011-08-10 22:03:47.000000000 +0200
-+++ ./buildconf	2011-08-10 22:08:22.000000000 +0200
-@@ -81,6 +81,7 @@
+--- buildconf.orig	2015-01-02 17:14:31 UTC
++++ buildconf
+@@ -81,6 +81,7 @@ if test "$1" = "1"; then
    fi
    # Do we need this anymore?
    echo "buildconf: Using libtool.m4 at ${ltfile}."
@@ -8,7 +8,7 @@
    rm -f build/libtool.m4
    cp -p $ltfile build/libtool.m4
  
-@@ -94,9 +95,12 @@
+@@ -94,9 +95,12 @@ fi
  # Not sure, would it interfere with httpd top_builddir when bundled?
  mv build/libtool.m4 build/libtool.m4.$$
  sed -e 's/\(LIBTOOL=.*\)top_build/\1apr_build/' < build/libtool.m4.$$ > build/libtool.m4



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505232126.t4NLQbpc002109>