Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2016 19:08:58 +0000 (UTC)
From:      David Naylor <dbn@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r407970 - head/devel/kdesvn-kde4
Message-ID:  <201602031908.u13J8wYt055207@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dbn
Date: Wed Feb  3 19:08:58 2016
New Revision: 407970
URL: https://svnweb.freebsd.org/changeset/ports/407970

Log:
  devel/kdesvn-kde4: fix options for DOCS and NLS
  
  DOCS: the directory layout changes, requiring all sub CMakeLists.txt file
    to be edited to prevent building of documentation (but keeping man).
  
  NLS: the include directive for NLS support had changed, and was updated.
  
  Reported by:	Wolfgang Riegler

Modified:
  head/devel/kdesvn-kde4/Makefile

Modified: head/devel/kdesvn-kde4/Makefile
==============================================================================
--- head/devel/kdesvn-kde4/Makefile	Wed Feb  3 19:07:19 2016	(r407969)
+++ head/devel/kdesvn-kde4/Makefile	Wed Feb  3 19:08:58 2016	(r407970)
@@ -32,10 +32,11 @@ post-patch:
 	${RM} ${WRKSRC}/src/kiosvn/svn*.protocol
 
 post-patch-DOCS-off:
-	${ECHO} "ADD_SUBDIRECTORY(man)" > ${WRKSRC}/doc/CMakeLists.txt
+	${FIND} ${WRKSRC}/docs -name CMakeLists.txt | \
+		${XARGS} ${REINPLACE_CMD} -n '/kde4_create_manpage/p'
 
 post-patch-NLS-off:
-	${REINPLACE_CMD} -e 's,ADD_SUBDIRECTORY(po), ,g' \
+	${REINPLACE_CMD} '/macro_optional_add_subdirectory( po )/d'  \
 		${WRKSRC}/CMakeLists.txt
 
 .include <bsd.port.mk>



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