mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-misc/pedro: respect PKG_CONFIG
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
@@ -15,10 +18,17 @@ IUSE="doc examples"
|
||||
|
||||
RDEPEND="dev-libs/glib:2"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="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
|
||||
|
||||
Reference in New Issue
Block a user