Skip to content

Commit

Permalink
dev-db/pg_top: Don't ignore CFLAGS
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/756049
Signed-off-by: Aaron W. Swenson <[email protected]>
  • Loading branch information
titanofold committed Nov 30, 2020
1 parent 90fdba2 commit ef5d69f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions dev-db/pg_top/pg_top-4.0.0-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit cmake

DESCRIPTION="'top' for PostgreSQL"
HOMEPAGE="https://pg_top.gitlab.io/"
SRC_URI="https://pg_top.gitlab.io/source/${P}.tar.xz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="dev-db/postgresql:="
DEPEND="${RDEPEND}"

DOCS=( HISTORY.rst README.rst TODO Y2K )

src_prepare() {
sed 's/set(CMAKE_C_FLAGS "-Wall")//' -i CMakeLists.txt || die
cmake_src_prepare
}

0 comments on commit ef5d69f

Please sign in to comment.