pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/sunwait Fix this again, leave a comment about str...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8dca411f432d
branches:  trunk
changeset: 385137:8dca411f432d
user:      martin <martin%pkgsrc.org@localhost>
date:      Sun Sep 11 11:58:20 2022 +0000

description:
Fix this again, leave a comment about strange -D in cflags.

diffstat:

 misc/sunwait/Makefile               |  3 ++-
 misc/sunwait/distinfo               |  4 ++--
 misc/sunwait/patches/patch-Makefile |  4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diffs (44 lines):

diff -r aa4a7921fd0b -r 8dca411f432d misc/sunwait/Makefile
--- a/misc/sunwait/Makefile     Sun Sep 11 11:36:34 2022 +0000
+++ b/misc/sunwait/Makefile     Sun Sep 11 11:58:20 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2019/01/16 14:43:22 martin Exp $
+# $NetBSD: Makefile,v 1.2 2022/09/11 11:58:20 martin Exp $
 
 DISTNAME=      sunwait-0.8
+PKGREVISION=   1
 CATEGORIES=    misc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=klada/}
 
diff -r aa4a7921fd0b -r 8dca411f432d misc/sunwait/distinfo
--- a/misc/sunwait/distinfo     Sun Sep 11 11:36:34 2022 +0000
+++ b/misc/sunwait/distinfo     Sun Sep 11 11:58:20 2022 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:59:33 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/09/11 11:58:20 martin Exp $
 
 BLAKE2s (sunwait-0.8.tar.gz) = 48255222ed8e06c92d718315bc77c63ed7b86b6aae48ce41c32cc96e581bfba2
 SHA512 (sunwait-0.8.tar.gz) = 974aec925e08d42f6b9d617cd033ab21af314b04a0bab100f9b473e038df7eb65a86de2240ef2d5308af5385c929607d591c6f7b738925622e38040af6368166
 Size (sunwait-0.8.tar.gz) = 20302 bytes
-SHA1 (patch-Makefile) = a3ba723c2868ce7628f5bc4b93633a3abacd5c56
+SHA1 (patch-Makefile) = 38be640d9a2c80026ee2323d38505c96d402b0ce
 SHA1 (patch-sunriset.cpp) = 759aa1f2c0301f8fab3a264167d25a077ed205ee
 SHA1 (patch-sunwait.cpp) = cf5b2251a4b0de5e95cdbd06a432824b623df42b
diff -r aa4a7921fd0b -r 8dca411f432d misc/sunwait/patches/patch-Makefile
--- a/misc/sunwait/patches/patch-Makefile       Sun Sep 11 11:36:34 2022 +0000
+++ b/misc/sunwait/patches/patch-Makefile       Sun Sep 11 11:58:20 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-Makefile,v 1.2 2019/12/21 23:44:45 joerg Exp $
+$NetBSD: patch-Makefile,v 1.3 2022/09/11 11:58:20 martin Exp $
 
 - Use CC instead of C to specify the C compiler and do not hardcode gcc
 - Honors user's {C,LD}FLAGS
@@ -13,7 +13,7 @@
 -C=gcc
 -CFLAGS=-c -Wall 
 -LDFLAGS= -lm -lstdc++
-+CFLAGS+=-c -Wall
++CFLAGS+=-c -Wall -D__linux__  # linux here means ~posix
 +LDFLAGS+= -lm
 -SOURCES=sunwait.cpp sunriset.cpp print.cpp sunwait.h sunriset.h print.h
 +SOURCES=sunwait.cpp sunriset.cpp print.cpp



Home | Main Index | Thread Index | Old Index