aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2023-11-15 11:15:34 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2023-11-15 11:15:34 +0000
commit2215152bfc510a6656871c9b6d4eac8917a967eb (patch)
tree10d441a9e4f4ea9540ac63b94aaea4aa74098365 /comms
parent2af5559dc1d948dc6e3bddb3ff9ebbcb49952a38 (diff)
downloadports-2215152bfc510a6656871c9b6d4eac8917a967eb.tar.gz
ports-2215152bfc510a6656871c9b6d4eac8917a967eb.zip
comms/gnuradio: Switch to 'USES' for LDCONFIG patch
This improves commit 2541ea0b: use USES=localbase:ldflags instead of direct modification of LDCONFIG. Reported by: eduardo via ports-committers@
Diffstat (limited to 'comms')
-rw-r--r--comms/gnuradio/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/comms/gnuradio/Makefile b/comms/gnuradio/Makefile
index a82842fb1c0f..9dcfc10e9e2c 100644
--- a/comms/gnuradio/Makefile
+++ b/comms/gnuradio/Makefile
@@ -48,8 +48,8 @@ LIB_DEPENDS= libcodec2.so:audio/codec2 \
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= cmake compiler:c++11-lang desktop-file-utils fortran gnome \
- iconv perl5 pkgconfig pyqt:5 python qt:5 shared-mime-info \
- shebangfix
+ iconv localbase:ldflags perl5 pkgconfig pyqt:5 python \
+ qt:5 shared-mime-info shebangfix
SHEBANG_FILES= grc/scripts/freedesktop/grc_setup_freedesktop.in \
gnuradio-runtime/python/gnuradio/ctrlport/gr-ctrlport-monitor \
@@ -74,7 +74,6 @@ USE_WX= 3.2
USE_QT= buildtools core gui xml qmake widgets
WX_COMPS= wx python:run
USE_LDCONFIG= yes
-LDFLAGS+= -L${LOCALBASE}/lib
LIBSTRIP_FILES= analog audio blocks channels digital dtv fec fft\
filter pmt qtgui runtime trellis video-sdl\
vocoder wavelet