Commit 47187c9
2
plików
+18
dodanych
-1
usuniętych
@@ -17,6 +17,21 @@ sha256sums:
17
17
18
18
build: |
19
19
cd ${pkgname}-${pkgver}*
20
+ # imlib2 1.12+ nie instaluje już przestarzałego skryptu imlib2-config,
21
+ # a configure giblib (2003) bez niego nie wykrywa imlib2 („Cannot find
22
+ # imlib2: Is imlib2-config in the path?”). Dajemy shim na pkg-config
23
+ # (imlib2.pc jest w rootfs) i wskazujemy go przez IMLIB2_CONFIG.
24
+ cat > imlib2-config <<'SH'
25
+ #!/bin/sh
26
+ case "$1" in
27
+ --version) exec pkg-config --modversion imlib2 ;;
28
+ --cflags) exec pkg-config --cflags imlib2 ;;
29
+ --libs) exec pkg-config --libs imlib2 ;;
30
+ *) exit 0 ;;
31
+ esac
32
+ SH
33
+ chmod +x imlib2-config
34
+ export IMLIB2_CONFIG="$PWD/imlib2-config"
20
35
./configure --prefix=/usr
21
36
make
22
37
make DESTDIR=${PKGDIR} install
@@ -181,10 +181,12 @@ build: |
181
181
unset MAKEFLAGS
182
182
183
183
184
+ # brak sendmaila w PaganOS – wylaczamy wsparcie mailowe (inaczej configure
185
+ # konczy sie: "File /bin/sendmail is not an executable file")
184
186
./configure --prefix=/usr \
185
187
--sysconfdir=/etc \
186
188
--sbindir=/usr/bin \
187
- --with-sendmail=/bin/sendmail \
189
+ --with-sendmail=no \
188
190
--localstatedir=/var \
189
191
--with-boot-install=no \
190
192
--mandir=/usr/share/man \