pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/beav Requires termcap. Fix compiler/linker fl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1935b686eb2a
branches:  trunk
changeset: 362237:1935b686eb2a
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue May 09 14:51:36 2017 +0000

description:
Requires termcap.  Fix compiler/linker flags.

diffstat:

 editors/beav/Makefile         |  3 ++-
 editors/beav/distinfo         |  4 ++--
 editors/beav/patches/patch-aa |  6 +++---
 3 files changed, 7 insertions(+), 6 deletions(-)

diffs (60 lines):

diff -r ca033194c227 -r 1935b686eb2a editors/beav/Makefile
--- a/editors/beav/Makefile     Tue May 09 14:47:04 2017 +0000
+++ b/editors/beav/Makefile     Tue May 09 14:51:36 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2014/09/12 03:54:13 dholland Exp $
+# $NetBSD: Makefile,v 1.16 2017/05/09 14:51:36 jperkin Exp $
 
 DISTNAME=      beav_1.40.orig
 PKGNAME=       beav-1.40.18
@@ -25,4 +25,5 @@
 SUBST_SED.docpath=     -e 's,/usr/share/doc/,${PREFIX}/share/doc,'
 SUBST_MESSAGE.docpath= Fixing path in documentation.
 
+.include "../../mk/termcap.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r ca033194c227 -r 1935b686eb2a editors/beav/distinfo
--- a/editors/beav/distinfo     Tue May 09 14:47:04 2017 +0000
+++ b/editors/beav/distinfo     Tue May 09 14:51:36 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2016/03/30 10:03:46 jperkin Exp $
+$NetBSD: distinfo,v 1.13 2017/05/09 14:51:36 jperkin Exp $
 
 SHA1 (beav_1.40-18.diff.gz) = 9cd82a3b8de391e1f001d241be1c2c3fadb3efb9
 RMD160 (beav_1.40-18.diff.gz) = 0e7b19fdc7ea16e1e24e8302d81dfb247e947603
@@ -8,7 +8,7 @@
 RMD160 (beav_1.40.orig.tar.gz) = 621df359860a8ec9205413520961d4366b1ad8ea
 SHA512 (beav_1.40.orig.tar.gz) = 560a35b9b3a6adeef5ccd41a6bca7055feeb2110eb7f931b5e6fc30a83ca7e49532420f96fa929025e096e598d03230fa8eb8247c71bf8963f4549c8b41e4e01
 Size (beav_1.40.orig.tar.gz) = 128103 bytes
-SHA1 (patch-aa) = 14bb0e27736ea7f49311a7fd32dc030201c90c3e
+SHA1 (patch-aa) = e34b65106711be85c886a27d7fc7b52498079566
 SHA1 (patch-ab) = 3d18ee1e757e96392acc554c131e9174276252b2
 SHA1 (patch-ac) = d232aa9fdd53c42e4e12408605fd82f28ca90843
 SHA1 (patch-ad) = a39834bab7717be78aa04a6ebd013294e75e5e00
diff -r ca033194c227 -r 1935b686eb2a editors/beav/patches/patch-aa
--- a/editors/beav/patches/patch-aa     Tue May 09 14:47:04 2017 +0000
+++ b/editors/beav/patches/patch-aa     Tue May 09 14:51:36 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2016/03/30 10:03:46 jperkin Exp $
+$NetBSD: patch-aa,v 1.5 2017/05/09 14:51:36 jperkin Exp $
 
 Use pkgsrc flags/layout.
 
@@ -8,7 +8,7 @@
  # This is the makefile for BSD UNIX
  #CFLAGS=     -g -DUNIX
 -CFLAGS=     -g -DUNIX -Wall
-+CFLAGS=     -g -DUNIX -DBSD -Wall
++CFLAGS+=    -DUNIX -DBSD -Wall
  CC=gcc
  
  OFILES=               basic.o ebcdic.o fileio.o region.o text.o wangpc.o \
@@ -17,7 +17,7 @@
  
  beav:     $(OFILES)
 -      $(CC) $(CFLAGS) $(OFILES) -lncurses -o beav
-+      $(CC) $(CFLAGS) $(OFILES) -ltermcap -o beav
++      $(CC) $(CFLAGS) $(OFILES) $(LDFLAGS) -ltermcap -o beav
 +
 +install: beav beav.1
 +      $(BSD_INSTALL_PROGRAM) beav ${DESTDIR}$(PREFIX)/bin



Home | Main Index | Thread Index | Old Index