summaryrefslogtreecommitdiff
path: root/src/stage3/patches/groff.patch
blob: 14d2c0b2bccefa9d54e7c055c731d7309f9f2b26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- a/PKGBUILD	2018-03-11 22:09:24.709386002 +0100
+++ b/PKGBUILD	2018-03-11 22:10:07.919794108 +0100
@@ -10,7 +10,6 @@ url="http://www.gnu.org/software/groff/g
 license=('GPL')
 groups=('base-devel')
 depends=('perl' 'gcc-libs')
-makedepends=('netpbm' 'psutils'  'libxaw')
 optdepends=('netpbm: for use together with man -H command interaction in browsers'
             'psutils: for use together with man -H command interaction in browsers'
             'libxaw: for gxditview')
@@ -22,9 +21,17 @@ md5sums=('cc825fa64bc7306a885f2fb2268d3e
          'a1fedafd7863b37968d32ad9ae1d8c13')
 validpgpkeys=('58E0C111E39F5408C5D3EC76C1A60EACE707FDA5') # Werner Lemberg <wl@gnu.org>
 
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+  @CONFIG_SUB@ > config.sub
+  @CONFIG_GUESS@ > config.guess
+  @CONFIG_SUB@ > src/libs/gnulib/build-aux/config.sub
+  @CONFIG_GUESS@ > src/libs/gnulib/build-aux/config.guess
+}
+
 build() {
   cd $srcdir/$pkgname-$pkgver
-  ./configure --prefix=/usr --with-x --with-appresdir=/usr/share/X11/app-defaults
+  ./configure --prefix=/usr --without-x --with-appresdir=/usr/share/X11/app-defaults
   make
 }