1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Get portaudio2 dependencies right since libs are not in ${LOCALBASE}/lib

Clean up LOCAL slightly
This commit is contained in:
Diane Bruce 2015-05-11 11:57:28 +00:00
parent cc4b18bdd5
commit e61f6205b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386073
2 changed files with 4 additions and 5 deletions

View File

@ -5,8 +5,7 @@ PORTVERSION= 3.22.08
PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= http://www.w1hkj.com/downloads/fldigi/\
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= shurd
LOCAL/shurd
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Digital decoder for psk, cw, psk31, olivia
@ -48,8 +47,8 @@ OSS_CONFIGURE_ENABLE= oss
SNDFILE_CONFIGURE_WITH= sndfile
SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile
PORTAUDIO_CONFIGURE_WITH= portaudio
PORTAUDIO_BUILD_DEPENDS= libportaudio.so:${PORTSDIR}/audio/portaudio2
PORTAUDIO_RUN_DEPENDS= libportaudio.so:${PORTSDIR}/audio/portaudio2
PORTAUDIO_BUILD_DEPENDS= ${LOCALBASE}/lib/portaudio2/libportaudio.so:${PORTSDIR}/audio/portaudio2
PORTAUDIO_RUN_DEPENDS= ${LOCALBASE}/lib/portaudio2/libportaudio.so:${PORTSDIR}/audio/portaudio2
PULSEAUDIO_CONFIGURE_WITH= pulseaudio
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio
HAMLIB_CONFIGURE_WITH= hamlib

View File

@ -5,7 +5,7 @@
CFLAGS = @CFLAGS@
CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
+CPPFLAGS = "-I/usr/local/include/portaudio2 @CPPFLAGS@"
+CPPFLAGS = "-I%%LOCALBASE%%/include/portaudio2 @CPPFLAGS@"
CXX = @CXX@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@