summaryrefslogtreecommitdiff
path: root/editors/tweak
diff options
context:
space:
mode:
authorroy <roy>2013-10-16 23:28:49 +0000
committerroy <roy>2013-10-16 23:28:49 +0000
commita90d362f2f5593d874d0ff846c82142ab6cff9d5 (patch)
tree619dea4a60367037000ceb51b4f811297ff4e68d /editors/tweak
parentc590e9b93f7b873642f411a73b1a3cda0db85f16 (diff)
downloadpkgsrc-a90d362f2f5593d874d0ff846c82142ab6cff9d5.tar.gz
Work with system curses
Diffstat (limited to 'editors/tweak')
-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
+