1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Disable ALSA test completely. When the ALSA lib wasn't detected, was still

trying to link with libalsa.so.  When it was detected, resulted in linking
with a non-dependant lib.

If there is enough demand, I can add OPTS for ALSA vs portaudio etc, but for
now just a hard dependency on portaudio will be enough.
This commit is contained in:
Stephen Hurd 2014-12-09 18:56:18 +00:00
parent ed75099171
commit 2e75709376
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374418
2 changed files with 20 additions and 1 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= linrad
PORTVERSION= 4.02
PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= http://www.nitehawk.com/sm5bsz/linuxdsp/archive/\
http://g7rau.demon.co.uk/sm5bsz/linuxdsp/archive/\

View File

@ -1,5 +1,5 @@
--- configure.orig 2014-11-04 02:25:00.000000000 -0800
+++ configure 2014-12-08 03:06:39.000000000 -0800
+++ configure 2014-12-09 10:52:10.000000000 -0800
@@ -1832,11 +1832,6 @@
ELF32=""
ELF64=""
@ -23,3 +23,21 @@
# Extract the first word of "${CC} ", so it can be a program name with args.
set dummy ${CC} ; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@@ -4025,6 +4022,9 @@
ALSA64_OK="0"
ALSA32_INSTALLED="0"
ALSA64_INSTALLED="0"
+ALSA32_LD=""
+ALSA64_LD=""
+<<DISABLE_ALSA
ALSA32_LD="libasound.${LIBEXT}"
X=`./libfind1 libasound.${LIBEXT}`
ALSA32_INC=`./libfind2 1 "$X"`
@@ -4090,6 +4090,7 @@
ALSA64_LD=""
fi
fi
+DISABLE_ALSA