[arch-commits] Commit in kdesdk/trunk (PKGBUILD fix-antlr2-executable.patch)

Andrea Scarpino andrea at archlinux.org
Sat Oct 30 22:42:40 UTC 2010


    Date: Saturday, October 30, 2010 @ 18:42:39
  Author: andrea
Revision: 97513

patched FindAntlr2.cmake because we use runantlr2 to run Antlr2

Added:
  kdesdk/trunk/fix-antlr2-executable.patch
Modified:
  kdesdk/trunk/PKGBUILD

-----------------------------+
 PKGBUILD                    |   11 ++++++++---
 fix-antlr2-executable.patch |   11 +++++++++++
 2 files changed, 19 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-10-30 22:33:52 UTC (rev 97512)
+++ PKGBUILD	2010-10-30 22:42:39 UTC (rev 97513)
@@ -31,11 +31,16 @@
 groups=('kde' 'kdesdk')
 makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'kdepim-runtime' 'subversion'
 	'kdebindings-python' 'docbook-xsl' 'antlr2' 'kdebase-konqueror')
-source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")
-sha1sums=('6326560c55f5ba5e4fdee4b1d941aaaa6047689e')
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2"
+	'fix-antlr2-executable.patch')
+sha1sums=('6326560c55f5ba5e4fdee4b1d941aaaa6047689e'
+	'dc2caaa29bebb49b496bd12eec4e5718e9af0c8f')
 
 build() {
-	cd $srcdir
+	cd ${srcdir}/${pkgbase}-${pkgver}
+	patch -Np1 -i ${srcdir}/fix-antlr2-executable.patch
+
+	cd ${srcdir}
 	mkdir build
 	cd build
 	cmake ../${pkgbase}-${pkgver} \

Added: fix-antlr2-executable.patch
===================================================================
--- fix-antlr2-executable.patch	                        (rev 0)
+++ fix-antlr2-executable.patch	2010-10-30 22:42:39 UTC (rev 97513)
@@ -0,0 +1,11 @@
+--- kdesdk-4.5.3/cmake/modules/FindAntlr2.cmake~	2010-10-31 00:37:32.603339350 +0200
++++ kdesdk-4.5.3/cmake/modules/FindAntlr2.cmake	2010-10-31 00:38:13.183339348 +0200
+@@ -34,7 +34,7 @@
+ 
+ if(NOT ANTLR2_EXECUTABLE)
+ 
+-  find_program(ANTLR2_EXECUTABLE NAMES runantlr antlr)
++  find_program(ANTLR2_EXECUTABLE NAMES runantlr2 antlr2)
+ 
+ endif(NOT ANTLR2_EXECUTABLE)
+ 




More information about the arch-commits mailing list