summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2020-06-17 07:37:50 -0400
committerMichael Orlitzky <mjo@gentoo.org>2020-06-17 09:38:16 -0400
commiteee8e638bf1559af6f93fe2995d69e2b0b9f176c (patch)
tree828660a79062d261802a9371b02c009ba9c2104d /dev-util/netsurf-buildsystem/files
parentdev-util/bitcoin-tx-0.20.0: Remove reference to unnecessary/missing patch (diff)
downloadgentoo-eee8e638bf1559af6f93fe2995d69e2b0b9f176c.tar.gz
gentoo-eee8e638bf1559af6f93fe2995d69e2b0b9f176c.tar.bz2
gentoo-eee8e638bf1559af6f93fe2995d69e2b0b9f176c.zip
dev-util/netsurf-buildsystem: new version 1.9.
This version comes with a gentoo-helpers-r2.sh that contains the correct Gentoo-prefix paths for PREFIX and NSSHARED. The problem was originally reported against netsurf.eclass, but it has migrated to this script in the meantime. Bug: https://bugs.gentoo.org/489542 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'dev-util/netsurf-buildsystem/files')
-rw-r--r--dev-util/netsurf-buildsystem/files/gentoo-helpers-r2.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-util/netsurf-buildsystem/files/gentoo-helpers-r2.sh b/dev-util/netsurf-buildsystem/files/gentoo-helpers-r2.sh
new file mode 100644
index 000000000000..403279ecc5f6
--- /dev/null
+++ b/dev-util/netsurf-buildsystem/files/gentoo-helpers-r2.sh
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+netsurf_define_makeconf() {
+ NETSURF_MAKECONF=(
+ PREFIX="${EPREFIX}/usr"
+ NSSHARED="${EPREFIX}/usr/share/netsurf-buildsystem"
+ LIBDIR="$(get_libdir)"
+ Q=
+ CC="$(tc-getCC)"
+ LD="$(tc-getLD)"
+ HOST_CC="\$(CC)"
+ BUILD_CC="$(tc-getBUILD_CC)"
+ CXX="$(tc-getCXX)"
+ BUILD_CXX="$(tc-getBUILD_CXX)"
+ CCOPT=
+ CCNOOPT=
+ CCDBG=
+ LDDBG=
+ AR="$(tc-getAR)"
+ WARNFLAGS=
+ )
+}