From f32ceaae523f047c31709445a07932786c9bfd1c Mon Sep 17 00:00:00 2001 From: Diane Bruce Date: Wed, 24 Apr 2019 14:41:48 +0000 Subject: [PATCH] Summary: comms/qrq: Failure to read configuration files and portlint(1) Compliance PR: ports/234381 Submitted by: takefu --- comms/qrq/Makefile | 6 ++++-- comms/qrq/distinfo | 5 +++-- comms/qrq/files/patch-Makefile | 19 +++++++++++-------- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/comms/qrq/Makefile b/comms/qrq/Makefile index b3285c5725f2..a22ad59c6a0c 100644 --- a/comms/qrq/Makefile +++ b/comms/qrq/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= qrq -PORTVERSION= 0.3.1 -PORTREVISION= 1 +PORTVERSION= 0.3.2 CATEGORIES= comms hamradio MASTER_SITES= http://fkurz.net/ham/qrq/ @@ -12,9 +11,12 @@ COMMENT= Morse telegraphy trainer similar to the classic DOS version by DL4MM LICENSE= GPLv2 USES= gmake ncurses shebangfix + SHEBANG_FILES= qrqscore post-install: ${INSTALL_DATA} ${WRKSRC}/qrq.png ${STAGEDIR}${DATADIR}/qrq.png +MAKE_ENV= DESTDIR=${LOCALBASE} + .include diff --git a/comms/qrq/distinfo b/comms/qrq/distinfo index 4c68d50fadbd..513cd30574e3 100644 --- a/comms/qrq/distinfo +++ b/comms/qrq/distinfo @@ -1,2 +1,3 @@ -SHA256 (qrq-0.3.1.tar.gz) = 92988a33b7eddb3941cf91a285a57f4f0872722adf003350a8afe2caf83159a1 -SIZE (qrq-0.3.1.tar.gz) = 131508 +TIMESTAMP = 1556007902 +SHA256 (qrq-0.3.2.tar.gz) = f340aa1e99a1c7752fe3600828a6596354485fffdb66a39eaf79227ac24ac43c +SIZE (qrq-0.3.2.tar.gz) = 132546 diff --git a/comms/qrq/files/patch-Makefile b/comms/qrq/files/patch-Makefile index 56278be71d83..cf241a0e0c77 100644 --- a/comms/qrq/files/patch-Makefile +++ b/comms/qrq/files/patch-Makefile @@ -1,4 +1,4 @@ ---- Makefile.orig 2013-01-06 14:14:09 UTC +--- Makefile.orig 2019-03-09 20:14:52 UTC +++ Makefile @@ -8,7 +8,7 @@ DESTDIR?=/usr USE_CA=NO @@ -9,15 +9,18 @@ # set to YES if you compile with MINGW32 USE_WIN32=NO -@@ -26,7 +26,6 @@ ifneq ($(OSX_PLATFORM), YES) +@@ -27,8 +27,8 @@ endif + + ifeq ($(USE_WIN32), YES) + CC=i686-w64-mingw32-gcc-posix +-else +- CC=gcc ++#else ++# CC=gcc endif - CFLAGS:=$(CFLAGS) -D DESTDIR=\"$(DESTDIR)\" -D VERSION=\"$(VERSION)\" -I. --CC=gcc - - ifeq ($(USE_CA), YES) - OBJECTS=qrq.o coreaudio.o -@@ -95,16 +94,14 @@ uninstall: + # build information may be added by CI scripts and will be +@@ -104,16 +104,14 @@ uninstall: else install: qrq