dev-perl/PGPLOT - 2.350.0 (stuff)

Search

Install

Install this version:

emerge -a =dev-perl/PGPLOT-2.350.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-perl/PGPLOT-2.350.0

Or alternatively:

emerge --autounmask-write -a =dev-perl/PGPLOT-2.350.0

Package Information

Description:
Allow subroutines in the PGPLOT graphics library to be called from Perl

Ebuild Details

Version EAPI Keywords Slot
2.350.0 8 ~amd64 ~arm ~ppc ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DIST_AUTHOR=ETJ
DIST_VERSION=2.35
inherit flag-o-matic perl-module

DESCRIPTION="Allow subroutines in the PGPLOT graphics library to be called from Perl"

SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86"

RDEPEND="
	sci-libs/pgplot
"
DEPEND="
	${RDEPEND}
"
BDEPEND="
	${RDEPEND}
	>=dev-perl/Devel-CheckLib-1.140.0
	>=dev-perl/ExtUtils-F77-1.130.0
"

src_configure() {
	# pgfun.c forward-declares pgfun1/pgfun2/pgfunplot with empty parens
	# (K&R) then calls them with arguments. gcc 16's default (-std=gnu23)
	# treats `()` as `(void)` and rejects the calls with 'number of
	# arguments doesn't match prototype'. Pin to gnu89 so K&R survives.
	# verified 2026-05-10 against 2.35.
	append-cflags -std=gnu89

	perl-module_src_configure
}

Inherited Eclasses

Dependencies

DEPEND

	
	sci-libs/pgplot

RDEPEND

	sci-libs/pgplot

BDEPEND

	
	sci-libs/pgplot

	>=dev-perl/Devel-CheckLib-1.140.0
	>=dev-perl/ExtUtils-F77-1.130.0