diff --git a/databases/ldb/Makefile b/databases/ldb/Makefile index 918d662ed63c..18abca33afa2 100644 --- a/databases/ldb/Makefile +++ b/databases/ldb/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= ldb -PORTVERSION= 1.1.15 +PORTVERSION= 1.1.16 PORTREVISION= 0 PORTEPOCH= 0 CATEGORIES= databases @@ -29,6 +29,10 @@ MAKE_JOBS_SAFE= yes PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig PLIST_SUB+= PKGCONFIGDIR=${PKGCONFIGDIR:S;${PREFIX}/;;} +CONFIGURE_ARGS+= --prefix=${PREFIX} \ + --mandir=${MANPREFIX}/man \ + --infodir=${PREFIX}/${INFO_PATH}/${INFO_SUBDIR} + .include BUILD_DEPENDS+= talloc>=2.0.8:${PORTSDIR}/devel/talloc \ @@ -83,8 +87,6 @@ CONFIGURE_ENV+= XSLTPROC="/usr/bin/true" CONFIGURE_ENV+= NOCOLOR=yes MAKE_ENV+= NOCOLOR=yes -CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man - .if !defined(DISABLE_MAKE_JOBS) && !defined(MAKE_JOBS_UNSAFE) .if defined(MAKE_JOBS_SAFE) || defined(FORCE_MAKE_JOBS) CONFIGURE_ARGS+= --jobs=${MAKE_JOBS_NUMBER} diff --git a/databases/ldb/distinfo b/databases/ldb/distinfo index 662d1b1e838b..12a9557ae2e0 100644 --- a/databases/ldb/distinfo +++ b/databases/ldb/distinfo @@ -1,2 +1,2 @@ -SHA256 (ldb-1.1.15.tar.gz) = 6bd8317e82747461394ab8ad1ee5873589d9a46d12f021571aca9fac45de8997 -SIZE (ldb-1.1.15.tar.gz) = 1121684 +SHA256 (ldb-1.1.16.tar.gz) = 15c679fc4f1ae5956f5f81bc7caf5840992db65da6c804854a893d1f6423daf9 +SIZE (ldb-1.1.16.tar.gz) = 1167348 diff --git a/databases/tdb/Makefile b/databases/tdb/Makefile index 4422d8496fe1..f45f89028048 100644 --- a/databases/tdb/Makefile +++ b/databases/tdb/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= tdb -PORTVERSION= 1.2.11 +PORTVERSION= 1.2.12 PORTREVISION= 0 PORTEPOCH= 1 CATEGORIES= databases @@ -27,6 +27,10 @@ MAKE_JOBS_SAFE= yes PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig PLIST_SUB+= PKGCONFIGDIR=${PKGCONFIGDIR:S;${PREFIX}/;;} +CONFIGURE_ARGS+= --prefix=${PREFIX} \ + --mandir=${MANPREFIX}/man \ + --infodir=${PREFIX}/${INFO_PATH}/${INFO_SUBDIR} + OPTIONS_DEFINE= PYTHON OPTIONS_DEFAULT= PYTHON @@ -50,8 +54,6 @@ CONFIGURE_ENV+= XSLTPROC="/usr/bin/true" CONFIGURE_ENV+= NOCOLOR=yes MAKE_ENV+= NOCOLOR=yes -CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man - .if !defined(DISABLE_MAKE_JOBS) && !defined(MAKE_JOBS_UNSAFE) .if defined(MAKE_JOBS_SAFE) || defined(FORCE_MAKE_JOBS) CONFIGURE_ARGS+= --jobs=${MAKE_JOBS_NUMBER} @@ -90,8 +92,8 @@ pre-configure: pre-build: .for man in ${MAN8} - @${MKDIR} ${BUILD_WRKSRC}/bin/default/manpages - @${INSTALL_MAN} ${FILESDIR}/${man} ${BUILD_WRKSRC}/bin/default/manpages + @${MKDIR} ${BUILD_WRKSRC}/bin/default/man + @${INSTALL_MAN} ${FILESDIR}/${man} ${BUILD_WRKSRC}/bin/default/man .endfor do-build: diff --git a/databases/tdb/distinfo b/databases/tdb/distinfo index ba766d4cbb00..6e79d6f7c6f8 100644 --- a/databases/tdb/distinfo +++ b/databases/tdb/distinfo @@ -1,2 +1,2 @@ -SHA256 (tdb-1.2.11.tar.gz) = f10eae6361b033131d2deebfcccbcaeb3d8006747005f5240d68e8b70632f6c2 -SIZE (tdb-1.2.11.tar.gz) = 481298 +SHA256 (tdb-1.2.12.tar.gz) = 282d3db1cc56ac3011ae5f3922fd0c5bb217ecb0320836c23b6fe67f2163a71f +SIZE (tdb-1.2.12.tar.gz) = 462590 diff --git a/devel/talloc/Makefile b/devel/talloc/Makefile index e846aa3dac5f..da7e6c311728 100644 --- a/devel/talloc/Makefile +++ b/devel/talloc/Makefile @@ -28,7 +28,11 @@ MAKE_JOBS_SAFE= yes PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig PLIST_SUB+= PKGCONFIGDIR=${PKGCONFIGDIR:S;${PREFIX}/;;} -OPTIONS_DEFINE= PYTHON +CONFIGURE_ARGS+= --prefix=${PREFIX} \ + --mandir=${MANPREFIX}/man \ + --infodir=${PREFIX}/${INFO_PATH}/${INFO_SUBDIR} + +OPTIONS_DEFINE= PYTHON OPTIONS_DEFAULT= PYTHON .include @@ -44,8 +48,6 @@ CONFIGURE_ENV+= XSLTPROC="/usr/bin/true" CONFIGURE_ENV+= NOCOLOR=yes MAKE_ENV+= NOCOLOR=yes -CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man - .if !defined(DISABLE_MAKE_JOBS) && !defined(MAKE_JOBS_UNSAFE) .if defined(MAKE_JOBS_SAFE) || defined(FORCE_MAKE_JOBS) CONFIGURE_ARGS+= --jobs=${MAKE_JOBS_NUMBER} diff --git a/devel/tevent/Makefile b/devel/tevent/Makefile index e215d630067b..f1e284b4879b 100644 --- a/devel/tevent/Makefile +++ b/devel/tevent/Makefile @@ -28,7 +28,11 @@ MAKE_JOBS_SAFE= yes PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig PLIST_SUB+= PKGCONFIGDIR=${PKGCONFIGDIR:S;${PREFIX}/;;} -OPTIONS_DEFINE= PYTHON +CONFIGURE_ARGS+= --prefix=${PREFIX} \ + --mandir=${MANPREFIX}/man \ + --infodir=${PREFIX}/${INFO_PATH}/${INFO_SUBDIR} + +OPTIONS_DEFINE= PYTHON OPTIONS_DEFAULT= PYTHON .include @@ -38,14 +42,10 @@ PLIST_FILES= include/tevent.h \ lib/libtevent.so.0 \ %%PKGCONFIGDIR%%/tevent.pc -# include/tevent_internal.h \ - CONFIGURE_ENV+= XSLTPROC="/usr/bin/true" CONFIGURE_ENV+= NOCOLOR=yes MAKE_ENV+= NOCOLOR=yes -CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man - BUILD_DEPENDS+= talloc>=2.0.8:${PORTSDIR}/devel/talloc RUN_DEPENDS:= ${BUILD_DEPENDS} @@ -100,11 +100,13 @@ do-build: ${FALSE}; \ fi) -do-install: - @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${INSTALL_WRKSRC}/${WAF_TOOL} ${MAKE_ARGS} ${INSTALL_TARGET}) +post-build: .if ${PORT_OPTIONS:MPYTHON} - ${PYTHON_CMD} -m py_compile ${PYTHON_SITELIBDIR}/tevent.py - ${PYTHON_CMD} -O -m py_compile ${PYTHON_SITELIBDIR}/tevent.py + ${PYTHON_CMD} -m py_compile ${BUILD_WRKSRC}/tevent.py + ${PYTHON_CMD} -O -m py_compile ${BUILD_WRKSRC}/tevent.py .endif +do-install: + @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${INSTALL_WRKSRC}/${WAF_TOOL} ${MAKE_ARGS} ${INSTALL_TARGET}) + .include diff --git a/devel/tevent/files/patch-lib__replace__wscript b/devel/tevent/files/patch-lib__replace__wscript index 8d346221a8c9..cb54e73c05dc 100644 --- a/devel/tevent/files/patch-lib__replace__wscript +++ b/devel/tevent/files/patch-lib__replace__wscript @@ -1,8 +1,11 @@ ---- lib/replace/wscript.orig -+++ lib/replace/wscript -@@ -55,6 +55,7 @@ +--- lib/replace/wscript.orig 2013-06-30 21:48:11.959883882 +0000 ++++ lib/replace/wscript 2013-06-30 21:48:25.639903597 +0000 +@@ -53,8 +53,9 @@ + conf.ADD_CFLAGS(f) + break - if conf.CHECK_CFLAGS(['-fstack-protector']): +- if conf.CHECK_CFLAGS(['-fstack-protector']): ++ if conf.CHECK_CFLAGS(['-fstack-protector']) and conf.CHECK_LDFLAGS(['-fstack-protector']): conf.ADD_CFLAGS('-fstack-protector') + conf.ADD_LDFLAGS('-fstack-protector') diff --git a/devel/tevent/files/patch-wscript b/devel/tevent/files/patch-wscript index 3404521e3c1c..34845ed246de 100644 --- a/devel/tevent/files/patch-wscript +++ b/devel/tevent/files/patch-wscript @@ -1,6 +1,6 @@ ---- wscript.orig 2012-02-09 13:14:17.000000000 +0100 -+++ wscript 2012-03-14 23:32:55.000000000 +0100 -@@ -73,7 +73,7 @@ +--- wscript.orig 2013-03-02 08:57:47.000000000 +0000 ++++ wscript 2013-06-30 06:22:09.109879947 +0000 +@@ -90,7 +90,7 @@ SRC += ' tevent_epoll.c' if bld.env.standalone_tevent: @@ -9,3 +9,12 @@ private_library = False else: private_library = True +@@ -120,7 +120,7 @@ + pattern='tevent.py', + installdir='python') + +- bld.INSTALL_WILDCARD('${PYTHONARCHDIR}', 'tevent.py', flat=False) ++ bld.INSTALL_WILDCARD('${PYTHONARCHDIR}', 'tevent.py*', flat=False) + + + def test(ctx):