aboutsummaryrefslogtreecommitdiff
path: root/comms/linrad
diff options
context:
space:
mode:
authorStephen Hurd <shurd@FreeBSD.org>2014-12-09 18:56:18 +0000
committerStephen Hurd <shurd@FreeBSD.org>2014-12-09 18:56:18 +0000
commit2e75709376ee41393111d328a343cd54d327d388 (patch)
tree3f2e07821542e7bb12ca1c1faee0474e2bfc6644 /comms/linrad
parented75099171fd6dcf996dcde11d666f6ab5db369d (diff)
downloadports-2e75709376ee41393111d328a343cd54d327d388.tar.gz
ports-2e75709376ee41393111d328a343cd54d327d388.zip
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.
Notes
Notes: svn path=/head/; revision=374418
Diffstat (limited to 'comms/linrad')
-rw-r--r--comms/linrad/Makefile1
-rw-r--r--comms/linrad/files/patch-configure20
2 files changed, 20 insertions, 1 deletions
diff --git a/comms/linrad/Makefile b/comms/linrad/Makefile
index fc49241c8d97..c885a49fbbf9 100644
--- a/comms/linrad/Makefile
+++ b/comms/linrad/Makefile
@@ -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/\
diff --git a/comms/linrad/files/patch-configure b/comms/linrad/files/patch-configure
index 9a874ff700df..37a10b484c00 100644
--- a/comms/linrad/files/patch-configure
+++ b/comms/linrad/files/patch-configure
@@ -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
+
+
+