Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2014 11:35:58 +0000 (UTC)
From:      "Lev A. Serebryakov" <lev@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364781 - head/devel/subversion
Message-ID:  <201408131135.s7DBZwJX073067@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lev
Date: Wed Aug 13 11:35:57 2014
New Revision: 364781
URL: http://svnweb.freebsd.org/changeset/ports/364781
QAT: https://qat.redports.org/buildarchive/r364781/

Log:
   Properly build addons, with all (future) patches to build-outputs.mk

Modified:
  head/devel/subversion/Makefile.common

Modified: head/devel/subversion/Makefile.common
==============================================================================
--- head/devel/subversion/Makefile.common	Wed Aug 13 11:03:04 2014	(r364780)
+++ head/devel/subversion/Makefile.common	Wed Aug 13 11:35:57 2014	(r364781)
@@ -3,7 +3,7 @@
 
 PORTNAME?=	subversion
 PORTVERSION=	1.8.10
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES+=	devel
 MASTER_SITES=	${MASTER_SITE_APACHE}
 DIST_SUBDIR=	subversion18
@@ -90,6 +90,11 @@ pre-everything::
 .endif
 .endif
 
+pre-patch:
+.if defined(SVN_BUILD_ADDONS)
+	@${CP} ${FILESDIR}/build-outputs.mk.addons ${WRKSRC}/build-outputs.mk
+.endif
+
 post-patch:
 .if ${PREFIX} != "/usr"
 	@${REINPLACE_CMD} "s#/etc/subversion#${ETCDIR}#g" ${WRKSRC}/subversion/libsvn_subr/config_file.c
@@ -97,9 +102,6 @@ post-patch:
 .endif
 	@${REINPLACE_CMD} "s#^swig_pydir =.*#swig_pydir = ${PYTHON_SITELIBDIR}/libsvn#" ${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} "s#^swig_pydir_extra =.*#swig_pydir_extra = ${PYTHON_SITELIBDIR}/svn#" ${WRKSRC}/Makefile.in
-.if defined(SVN_BUILD_ADDONS)
-	@${CP} ${FILESDIR}/build-outputs.mk.addons ${WRKSRC}/build-outputs.mk
-.endif
 .if ( ${PORT_OPTIONS:MFREEBSD_TEMPLATE} || !${OPTIONS_FILE_UNSET:MFREEBSD_TEMPLATE} ) && defined(ORGANIZATION)
 	@${ECHO_CMD} "#define ORGANIZATION_NAME \"${ORGANIZATION}\"" > ${WRKSRC}/subversion/freebsd-organization.h
 .endif



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