summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-04-07 11:24:40 +0200
committerJeroen Roovers <jer@gentoo.org>2017-04-07 11:24:40 +0200
commit89b1345faf70b8401074f5edba8f5fe8f32f7073 (patch)
tree1a98956f9e4496c99e568bcaa2c0426c9aed6042 /x11-misc
parentx11-misc/xnots: Add GCC 6 patch. (diff)
downloadgentoo-89b1345faf70b8401074f5edba8f5fe8f32f7073.tar.gz
gentoo-89b1345faf70b8401074f5edba8f5fe8f32f7073.tar.bz2
gentoo-89b1345faf70b8401074f5edba8f5fe8f32f7073.zip
x11-misc/xnots: Update live ebuild.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/xnots/xnots-0.2.1-r2.ebuild1
-rw-r--r--x11-misc/xnots/xnots-9999.ebuild7
2 files changed, 6 insertions, 2 deletions
diff --git a/x11-misc/xnots/xnots-0.2.1-r2.ebuild b/x11-misc/xnots/xnots-0.2.1-r2.ebuild
index 89500bfca7bb..15752d347787 100644
--- a/x11-misc/xnots/xnots-0.2.1-r2.ebuild
+++ b/x11-misc/xnots/xnots-0.2.1-r2.ebuild
@@ -51,6 +51,7 @@ src_install() {
mandir=/usr/share/man \
prefix=/usr \
install
+
if use vim-syntax; then
insinto /usr/share/vim/vimfiles/syntax
doins etc/xnots.vim
diff --git a/x11-misc/xnots/xnots-9999.ebuild b/x11-misc/xnots/xnots-9999.ebuild
index 59d0d019ec27..4574a53d43aa 100644
--- a/x11-misc/xnots/xnots-9999.ebuild
+++ b/x11-misc/xnots/xnots-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
inherit flag-o-matic git-r3 toolchain-funcs
DESCRIPTION="A desktop sticky note program for the unix geek"
@@ -29,6 +29,8 @@ DEPEND="
"
src_prepare() {
+ default
+
sed -i -e 's|LICENCE||g' Makefile || die
append-cflags -std=gnu89
@@ -45,6 +47,7 @@ src_install() {
mandir=/usr/share/man \
prefix=/usr \
install
+
if use vim-syntax; then
insinto /usr/share/vim/vimfiles/syntax
doins etc/xnots.vim