mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
3af9c286ad
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)
33 lines
1015 B
INI
33 lines
1015 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
|
|
+}
|
|
|