summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorroy <roy@pkgsrc.org>2013-10-16 23:28:49 +0000
committerroy <roy@pkgsrc.org>2013-10-16 23:28:49 +0000
commit5adbd5b09f41e852f7f5519530df30dc48de1915 (patch)
tree619dea4a60367037000ceb51b4f811297ff4e68d /editors
parentdf49eac8e1501bb97d58a9c13d7d11fbc910d204 (diff)
downloadpkgsrc-5adbd5b09f41e852f7f5519530df30dc48de1915.tar.gz
Work with system curses
Diffstat (limited to 'editors')
-rw-r--r--editors/tweak/Makefile5
-rw-r--r--editors/tweak/distinfo4
-rw-r--r--editors/tweak/patches/patch-Makefile13
3 files changed, 16 insertions, 6 deletions
diff --git a/editors/tweak/Makefile b/editors/tweak/Makefile
index e2181ac6be7..872a256d44a 100644
--- a/editors/tweak/Makefile
+++ b/editors/tweak/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2013/01/08 10:16:43 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2013/10/16 23:28:49 roy Exp $
#
DISTNAME= tweak-3.01
+PKGREVISION= 1
CATEGORIES= editors
MASTER_SITES= http://www.chiark.greenend.org.uk/~sgtatham/tweak/
@@ -14,5 +15,5 @@ USE_TOOLS+= gmake
MAKE_FLAGS+= PREFIX=${PREFIX} DESTDIR=${DESTDIR}
-.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/editors/tweak/distinfo b/editors/tweak/distinfo
index 116f6e26bb9..36cb8ba3951 100644
--- a/editors/tweak/distinfo
+++ b/editors/tweak/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2013/01/08 10:16:43 wiz Exp $
+$NetBSD: distinfo,v 1.2 2013/10/16 23:28:49 roy Exp $
SHA1 (tweak-3.01.tar.gz) = 23e731d14837f9bd7c80c3a03c1c82a39928f0fc
RMD160 (tweak-3.01.tar.gz) = 09e904523f6d38b46609e64df5d9ae7276691d23
Size (tweak-3.01.tar.gz) = 71681 bytes
-SHA1 (patch-Makefile) = 2f937281eb7b72e477df906563634994450c66be
+SHA1 (patch-Makefile) = 76e89955dbf32aa5ad5dad0ee24bfd15f5464c2e
SHA1 (patch-rcfile.c) = 82bf8d167537de068650d3feaf5552ff7bb2be1b
diff --git a/editors/tweak/patches/patch-Makefile b/editors/tweak/patches/patch-Makefile
index 0a4b23948c5..60643a8af25 100644
--- a/editors/tweak/patches/patch-Makefile
+++ b/editors/tweak/patches/patch-Makefile
@@ -1,6 +1,6 @@
-$NetBSD: patch-Makefile,v 1.1 2013/01/08 10:16:43 wiz Exp $
+$NetBSD: patch-Makefile,v 1.2 2013/10/16 23:28:49 roy Exp $
-DESTDIR support.
+DESTDIR and curses support.
--- Makefile.orig 2006-05-18 08:27:43.000000000 +0000
+++ Makefile
@@ -17,3 +17,12 @@ DESTDIR support.
TWEAK := main.o keytab.o actions.o search.o rcfile.o buffer.o btree.o
+@@ -34,7 +35,7 @@ ifeq ($(SLANG),yes)
+ LIBS += -lslang
+ TWEAK += slang.o
+ else
+-LIBS += -lncurses
++LIBS += -lcurses
+ TWEAK += curses.o
+ endif
+