freebsd-ports/comms/jsdr/files/patch-make-x64_swreceiver_swreceiver.pro
Tobias C. Berner 3af9c286ad Simplify Makefile of comms/jsdr
Instead of doing a manual do-configure / do-build / do-install targets, copy
a small 'jsdr.pro' file to WRKSRC and then rely on USES=qmake to do the rest.

The version-suffix of the two binaries spectrum-viewer and fmreceiver was
dropped in the process (why was it there?) -- and therefore the PORTREVISION
is bumped.

PR:		214642
Approved by:	rakuco (mentor)
2016-11-19 11:53:23 +00:00

32 lines
1,015 B
INI

--- make-x64/swreceiver/swreceiver.pro.orig 2012-09-16 16:12:33 UTC
+++ make-x64/swreceiver/swreceiver.pro
@@ -180,13 +180,21 @@ LIBS += -lwinmm
#}
#for Fedora use the second set
-unix { INCLUDEPATH += /usr/include/qwt
- INCLUDEPATH += /usr/include/
- INCLUDEPATH += /usr/local/include/
- LIBS += -L/usr/lib64
- LIBS += -L/lib64
- LIBS += -L/usr/local/lib
- LIBS += -lqwt -lrt -lsndfile -lsamplerate -lportaudio -lusb-1.0 -lfftw3 -ldl
-}
+#unix { INCLUDEPATH += /usr/include/qwt
+# INCLUDEPATH += /usr/include/
+# INCLUDEPATH += /usr/local/include/
+# LIBS += -L/usr/lib64
+# LIBS += -L/lib64
+# LIBS += -L/usr/local/lib
+# LIBS += -lqwt -lrt -lsndfile -lsamplerate -lportaudio -lusb-1.0 -lfftw3 -ldl
+#}
+#for FreeBSD use the third set
+unix { INCLUDEPATH += ${LOCALBASE}/include/qwt
+ INCLUDEPATH += ${LOCALBASE}/include
+ QMAKE_LIBDIR += ${LOCALBASE}/lib
+ LIBS += -lqwt -lrt -lsndfile -lsamplerate -lportaudio -lusb -lfftw3
+ target.path = $$INSTALL_ROOT/$$PREFIX/bin
+ INSTALLS += target
+}