[arch-commits] Commit in erlang/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Mon Dec 21 14:23:22 UTC 2020
Date: Monday, December 21, 2020 @ 14:23:22
Author: arodseth
Revision: 781107
Remove the dependency on gtk2
Modified:
erlang/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-21 14:18:51 UTC (rev 781106)
+++ PKGBUILD 2020-12-21 14:23:22 UTC (rev 781107)
@@ -18,25 +18,34 @@
options=(staticlibs)
source=("git+https://github.com/erlang/otp.git#tag=OTP-$pkgver"
"$url/download/otp_doc_man_$_docver.tar.gz"
+ "https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-lang/erlang/files/18.2.1-wx3.0.patch"
epmd.conf epmd.service epmd.socket)
sha256sums=('SKIP'
'5650e5f24d321d38622a981da103a2006cbf17eabbf2d8de645b00870ccf0067'
+ 'b0e1d2ed833feb0f308060c2a451fcd58fceb68c9c63432fab38ae4cd0264ee2'
'78ce5e67b21758c767d727e56b20502f75dc4385ff9b6c6db312d8e8506f2df2'
'b121ec9053fb37abca5f910a81c526f93ec30fe13b574a12209223b346886a9e'
'998a759e4cea4527f9d9b241bf9f32527d7378d63ea40afa38443c6c3ceaea34')
prepare() {
+ mkdir -p bin
+ ln -s /usr/bin/wx-config bin/wx-config
cd otp
+ patch -p1 -i ../18.2.1-wx3.0.patch
+ export PATH="$srcdir/bin:$PATH"
./otp_build autoconf
}
build() {
cd otp
+ export PATH="$srcdir/bin:$PATH"
./configure \
--prefix=/usr \
--enable-builtin-zlib \
--enable-smp-support \
- --with-odbc
+ --with-odbc \
+ --with-wx-config=/usr/bin/wx-config-gtk3 \
+ --with-wxdir=/dev/null
make
}
@@ -49,6 +58,7 @@
provides=(erlang-nox)
conflicts=(erlang-nox)
+ export PATH="$srcdir/bin:$PATH"
make -C otp DESTDIR="$pkgdir" install
# move files that belong to the erlang-unixodbc package
More information about the arch-commits
mailing list