summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-print/gtklp/gtklp-1.3.1.ebuild')
-rw-r--r--net-print/gtklp/gtklp-1.3.1.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/net-print/gtklp/gtklp-1.3.1.ebuild b/net-print/gtklp/gtklp-1.3.1.ebuild
index 72969c5b4027..e3aa1c6a45fd 100644
--- a/net-print/gtklp/gtklp-1.3.1.ebuild
+++ b/net-print/gtklp/gtklp-1.3.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
inherit autotools eutils
@@ -17,15 +17,18 @@ KEYWORDS="amd64 ppc ~sparc x86"
IUSE="nls ssl"
RDEPEND="x11-libs/gtk+:2
- >=net-print/cups-1.6
+ net-print/cups
nls? ( sys-devel/gettext )
- ssl? ( dev-libs/openssl )"
+ ssl? ( dev-libs/openssl:0= )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS="AUTHORS BUGS ChangeLog README TODO USAGE"
+PATCHES=( "${FILESDIR}/${P}-formatsec.patch" )
+
src_prepare() {
+ default
sed -e '/DEF_BROWSER_CMD/{s:netscape:firefox:}' \
-e '/DEF_HELP_HOME/{s:631/sum.html#STANDARD_OPTIONS:631/help/:}' \
-i include/defaults.h || die