summaryrefslogtreecommitdiff
path: root/net-misc/pedro
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /net-misc/pedro
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'net-misc/pedro')
-rw-r--r--net-misc/pedro/Manifest4
-rw-r--r--net-misc/pedro/files/pedro-1.6-portage.patch4
-rw-r--r--net-misc/pedro/pedro-1.6.ebuild20
3 files changed, 20 insertions, 8 deletions
diff --git a/net-misc/pedro/Manifest b/net-misc/pedro/Manifest
index 72214a5acdca..fa1e92e041a6 100644
--- a/net-misc/pedro/Manifest
+++ b/net-misc/pedro/Manifest
@@ -1,5 +1,5 @@
-AUX pedro-1.6-portage.patch 713 BLAKE2B 506efa96dd6532685b56c893edf9df4d1dac1310ea4d1dd572d37c5e3f9a343eadcb080c67fd6c58ce1db215c23cb063838a785e65894c952322ca4ef0d981fa SHA512 c4ef62732f811557f12a35237ecdbc435660b3bfc45312abe43850936e12f864c21ee577a6c268256052328c9d5fb5d2fe0934adf67b406bf6146393e569c0df
+AUX pedro-1.6-portage.patch 719 BLAKE2B ee8a23964e875e271624a2d0f4c06d5cd05e9d78cae4147c2e0d0701d2df816f2e9b90ca0d3919cc03d5a3c3c62bc5fe6ade08f3775b61af23d6a2fdeda67a00 SHA512 10446c0348e20e2ee946544c0947fe4373ee90b9e9ef5524d6743d7be9f13855dee06ed7e011f1d82b321fd0b8594924bf3ae6f4d0744f4d4517910f0f756875
DIST pedro-1.6.tgz 711856 BLAKE2B 5027dd438995e212889786996debb5765d49828d38ce715672e44776b5fb63db0d6bca0e72339fd5067254aed0b731d3f77656ad510d978e4f456af45d6cf008 SHA512 263f53e447d4b3baab405a1d7313fc397f8a62958957688265c7485a5697b642138636659b5515b9010341655ba8045e5d85f69a86c20baa28edc0dcff0aef42
DIST pedro-manual-1.6.tar.gz 222863 BLAKE2B 085b118585808aced9217a8001080b589d9dad958ad14787f929a4808b10bb2be80ae7bc04c07b676e41aed9e2ec916215c5d15dda2317f71ecebbc7c1737d96 SHA512 87f8e07e3a687d12e366f1974398996f2346e417680ab534622f901c0c7e1efeb171f0c0dadad46b578122c9e98531570c303d2d3ce04b1cd8150816d6138f99
-EBUILD pedro-1.6.ebuild 905 BLAKE2B aa651f37af140d2439d3574236b95cf9f68039bb93cff5559c6aa8b77dc174b016dd7a0d58b577001a6b6a77bcd7f01260421c156b3e11638014faf9707096e6 SHA512 e5e402079e4b5e9ebfefb59a3ac64b77aedc2b5dd5be6735ec451bd0e34bc75d186302970752728dbc2b4d11f6e49c510908275b690c5727ded6e9eb07509b38
+EBUILD pedro-1.6.ebuild 1002 BLAKE2B 4b179803707c9b11b89073cde36b2b9498a6db08631506306fb828c8dcaa54479f9ae6d6641005a1c1ebefbda6150d4e6da6762046effbc6cbf3deddbafbe38d SHA512 04fe0bf58fd4e9e61284866b5bc1cece0f680433bcc59a7212a2bfe9bd1f64ee2137ad1e68b0eec2b1015fbee4fe8b9db7ed215db8b65184d0a4692e3fb985d2
MISC metadata.xml 238 BLAKE2B 471c25958ebf5f578ea2bc7abf38d99bd0810529255b7a3c42327d482a83d9b89c31c524907cc391b2320b3ff08b402d372498940dffc5aac5e6e4ad37e263a6 SHA512 98e2109c9261f162840c0123e9f4748fcf3eb0f07f2f4a47c30ea78b84ab1bc41dca829ad2c8b6476df49748a40fc7101e59d4ce150b28cf32415d8232e47fd7
diff --git a/net-misc/pedro/files/pedro-1.6-portage.patch b/net-misc/pedro/files/pedro-1.6-portage.patch
index b72a3251b89a..9c9829129b2b 100644
--- a/net-misc/pedro/files/pedro-1.6-portage.patch
+++ b/net-misc/pedro/files/pedro-1.6-portage.patch
@@ -5,7 +5,7 @@
#AC_CONFIG_MACRO_DIR([m4])
-CPPFLAGS="-O2 -g `pkg-config --cflags glib-2.0`"
-+CPPFLAGS="`pkg-config --cflags glib-2.0`"
++CPPFLAGS="`${PKG_CONFIG} --cflags glib-2.0`"
case "${host}" in
i[3456789]86-*-mingw32*)
WIN32="yes"
@@ -14,7 +14,7 @@
*)
WIN32="no"
- LDFLAGS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm"
-+ LDFLAGS="$LDFLAGS -L../lib -lpedro `pkg-config --libs glib-2.0` -lm"
++ LDFLAGS="$LDFLAGS -L../lib -lpedro `${PKG_CONFIG} --libs glib-2.0` -lm"
;;
esac
ac_config_files="$ac_config_files Makefile src/Makefile src/server/Makefile src/lib/Makefile src/examples/Makefile doc/Makefile"
diff --git a/net-misc/pedro/pedro-1.6.ebuild b/net-misc/pedro/pedro-1.6.ebuild
index 428ab0412b8a..68f35cb0e6f4 100644
--- a/net-misc/pedro/pedro-1.6.ebuild
+++ b/net-misc/pedro/pedro-1.6.ebuild
@@ -1,12 +1,15 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
+inherit toolchain-funcs
+
DESCRIPTION="Pedro is a subscription/notification communications system"
HOMEPAGE="http://www.itee.uq.edu.au/~pjr/HomePages/PedroHome.html"
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/PedroFiles/${P}.tgz
doc? ( mirror://gentoo/${PN}-manual-${PV}.tar.gz )"
+S="${WORKDIR}"/${P}
LICENSE="GPL-2"
SLOT="0"
@@ -14,11 +17,20 @@ KEYWORDS="amd64 ppc x86"
IUSE="doc examples"
RDEPEND="dev-libs/glib:2"
-DEPEND="${RDEPEND}"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
-S="${WORKDIR}"/${P}
+PATCHES=(
+ "${FILESDIR}"/${P}-portage.patch
+)
-PATCHES=( "${FILESDIR}/${P}-portage.patch" )
+src_configure() {
+ tc-export PKG_CONFIG
+
+ default
+}
src_install() {
default