freebsd-ports/comms/qrq/files/patch-Makefile
John Marino f4d2e9d5d0 2 ports categories: Remove $PTHREAD_LIBS
Categories: net-p2p, comms

Note that qrq was not properly staged, it failed stage-QA.
aprsd failed check-plist; it had a plist orphan.  Now it fails stage-QA
with a fs violation, but it may be acceptable.  Fixes added to both.

approved by:	PTHREAD blanket
2015-03-24 23:45:41 +00:00

44 lines
1.6 KiB
Text

--- Makefile.orig 2013-01-06 14:14:09 UTC
+++ Makefile
@@ -8,7 +8,7 @@ DESTDIR?=/usr
USE_CA=NO
# set to YES if you want to use PulseAudio instead of OSS
-USE_PA=YES
+USE_PA=NO
# set to YES if you compile with MINGW32
USE_WIN32=NO
@@ -26,7 +26,6 @@ ifneq ($(OSX_PLATFORM), YES)
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:
else
install: qrq
- install -d -v $(DESTDIR)/share/qrq/
- install -d -v $(DESTDIR)/share/man/man1/
- install -d -v $(DESTDIR)/bin/
- install -s -m 0755 qrq $(DESTDIR)/bin/
- install -m 0755 qrqscore $(DESTDIR)/bin/
- install -m 0644 qrq.1 $(DESTDIR)/share/man/man1/
- install -m 0644 callbase.qcb $(DESTDIR)/share/qrq/
- install -m 0644 english.qcb $(DESTDIR)/share/qrq/
- install -m 0644 qrqrc $(DESTDIR)/share/qrq/
- install -m 0644 toplist $(DESTDIR)/share/qrq/
+ mkdir -p $(DESTDIR)$(PREFIX)/share/qrq/
+ $(BSD_INSTALL_PROGRAM) qrq $(DESTDIR)$(PREFIX)/bin/
+ $(BSD_INSTALL_SCRIPT) qrqscore $(DESTDIR)$(PREFIX)/bin/
+ $(BSD_INSTALL_MAN) qrq.1 $(DESTDIR)$(PREFIX)/man/man1/
+ $(BSD_INSTALL_DATA) callbase.qcb $(DESTDIR)$(PREFIX)/share/qrq/
+ $(BSD_INSTALL_DATA) english.qcb $(DESTDIR)$(PREFIX)/share/qrq/
+ $(BSD_INSTALL_DATA) qrqrc $(DESTDIR)$(PREFIX)/share/qrq/
+ $(BSD_INSTALL_DATA) toplist $(DESTDIR)$(PREFIX)/share/qrq/
uninstall: