svn commit: r374418 - in head/comms/linrad: . files

Stephen Hurd shurd at FreeBSD.org
Tue Dec 9 18:56:19 UTC 2014


Author: shurd
Date: Tue Dec  9 18:56:18 2014
New Revision: 374418
URL: https://svnweb.freebsd.org/changeset/ports/374418
QAT: https://qat.redports.org/buildarchive/r374418/

Log:
  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.

Modified:
  head/comms/linrad/Makefile
  head/comms/linrad/files/patch-configure

Modified: head/comms/linrad/Makefile
==============================================================================
--- head/comms/linrad/Makefile	Tue Dec  9 18:05:30 2014	(r374417)
+++ head/comms/linrad/Makefile	Tue Dec  9 18:56:18 2014	(r374418)
@@ -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/\

Modified: head/comms/linrad/files/patch-configure
==============================================================================
--- head/comms/linrad/files/patch-configure	Tue Dec  9 18:05:30 2014	(r374417)
+++ head/comms/linrad/files/patch-configure	Tue Dec  9 18:56:18 2014	(r374418)
@@ -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
+ 
+ 
+ 


More information about the svn-ports-head mailing list