Sat Dec 17 10:15:25 2011 UTC ()
Add missing mk/termcap buildlink.
Respect LDFLAGS

Bump PKGREVISION


(sbd)
diff -r1.3 -r1.4 pkgsrc/editors/gate/Makefile
diff -r1.2 -r1.3 pkgsrc/editors/gate/distinfo
diff -r0 -r1.1 pkgsrc/editors/gate/patches/patch-Makefile.in

cvs diff -r1.3 -r1.4 pkgsrc/editors/gate/Makefile (expand / switch to unified diff)

--- pkgsrc/editors/gate/Makefile 2011/10/02 22:55:25 1.3
+++ pkgsrc/editors/gate/Makefile 2011/12/17 10:15:24 1.4
@@ -1,26 +1,28 @@ @@ -1,26 +1,28 @@
1# $NetBSD: Makefile,v 1.3 2011/10/02 22:55:25 dholland Exp $ 1# $NetBSD: Makefile,v 1.4 2011/12/17 10:15:24 sbd Exp $
2# 2#
3 3
4DISTNAME= gate-2.06 4DISTNAME= gate-2.06
 5PKGREVISION= 1
5CATEGORIES= editors 6CATEGORIES= editors
6MASTER_SITES= http://www.unixpapa.com/software/ 7MASTER_SITES= http://www.unixpapa.com/software/
7 8
8MAINTAINER= hugor@users.sourceforge.net 9MAINTAINER= hugor@users.sourceforge.net
9HOMEPAGE= http://www.unixpapa.com/gate.html 10HOMEPAGE= http://www.unixpapa.com/gate.html
10COMMENT= Lightweight text editor 11COMMENT= Lightweight text editor
11 12
12PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
13 14
14GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
15BUILD_TARGET= # empty 16BUILD_TARGET= # empty
16 17
17INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \ 18INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
18 mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} 19 mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
19 20
20SUBST_CLASSES+= getline 21SUBST_CLASSES+= getline
21SUBST_STAGE.getline= pre-configure 22SUBST_STAGE.getline= pre-configure
22SUBST_MESSAGE.getline= Fixing conflict with POSIX getline. 23SUBST_MESSAGE.getline= Fixing conflict with POSIX getline.
23SUBST_FILES.getline= gate.h line.c main.c spel.c subs.c 24SUBST_FILES.getline= gate.h line.c main.c spel.c subs.c
24SUBST_SED.getline= -e 's/getline/get_line/' 25SUBST_SED.getline= -e 's/getline/get_line/'
25 26
 27.include "../../mk/termcap.buildlink3.mk"
26.include "../../mk/bsd.pkg.mk" 28.include "../../mk/bsd.pkg.mk"

cvs diff -r1.2 -r1.3 pkgsrc/editors/gate/distinfo (expand / switch to unified diff)

--- pkgsrc/editors/gate/distinfo 2005/12/09 14:33:34 1.2
+++ pkgsrc/editors/gate/distinfo 2011/12/17 10:15:24 1.3
@@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
1$NetBSD: distinfo,v 1.2 2005/12/09 14:33:34 joerg Exp $ 1$NetBSD: distinfo,v 1.3 2011/12/17 10:15:24 sbd Exp $
2 2
3SHA1 (gate-2.06.tar.gz) = f6935bfc410550e52725db7c1859e6ed9f6ea9e7 3SHA1 (gate-2.06.tar.gz) = f6935bfc410550e52725db7c1859e6ed9f6ea9e7
4RMD160 (gate-2.06.tar.gz) = 3b1fb285dbeccf7dd09504f4596d8e7387b14c8a 4RMD160 (gate-2.06.tar.gz) = 3b1fb285dbeccf7dd09504f4596d8e7387b14c8a
5Size (gate-2.06.tar.gz) = 58677 bytes 5Size (gate-2.06.tar.gz) = 58677 bytes
 6SHA1 (patch-Makefile.in) = 2f62b8968e9b22916e6449537b3cd1b857e37c35
6SHA1 (patch-aa) = fb2074f4f3b8bf86ba9c25b46b50d6e259804f45 7SHA1 (patch-aa) = fb2074f4f3b8bf86ba9c25b46b50d6e259804f45

File Added: pkgsrc/editors/gate/patches/patch-Makefile.in
$NetBSD: patch-Makefile.in,v 1.1 2011/12/17 10:15:24 sbd Exp $

--- Makefile.in.orig	2011-12-07 18:58:54.029182514 +0000
+++ Makefile.in
@@ -25,7 +25,7 @@ DIST= README $(SRCS) gate.h config.h.in
     Makefile.in gate.1.C gate.help CHANGES
 
 gate: $(OBJS)
-	$(CC) -o gate $(CFLAGS) $(OBJS) $(LIBS)
+	$(CC) -o gate $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS)
 
 main.o: main.c gate.h config.h
 util.o: util.c gate.h config.h