summaryrefslogtreecommitdiff
path: root/devel/cmockery2/patches/patch-autogen.sh
blob: e227dec2a12b8d2301a2169462e904492bd952a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-autogen.sh,v 1.1 2014/08/07 11:18:04 manu Exp $

pkgsrc maks a aclocal-1.9 stub available in PATH, and this
breaks the build. Force aclocal usage.

--- autogen.sh.orig	2014-07-22 15:39:39.000000000 +0000
+++ autogen.sh	2014-07-22 15:40:45.000000000 +0000
@@ -30,8 +30,12 @@
 if ! env "$AUTOMAKE" --version > /dev/null 2>&1 ; then
   AUTOMAKE=automake
 fi
 
+# pkgsrc build failur eworkaround
+ACLOCAL=aclocal
+AUTOMAKE=automake
+
 # glibtoolize is used for Mac OS X
 LIBTOOLIZE=libtoolize
 if ! env "$LIBTOOLIZE" --version > /dev/null 2>&1 ; then
   LIBTOOLIZE=glibtoolize