Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153485834
D11227.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D11227.diff
View Options
Index: head/audio/sox/Makefile
===================================================================
--- head/audio/sox/Makefile
+++ head/audio/sox/Makefile
@@ -3,7 +3,7 @@
PORTNAME= sox
PORTVERSION= 14.4.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= SF
@@ -21,12 +21,14 @@
CONFLICTS= play-[0-9]*
GNU_CONFIGURE= yes
-USES= autoreconf pkgconfig libtool
+USES= autoreconf libtool localbase:ldflags pkgconfig
USE_LDCONFIG= yes
-OPTIONS_DEFINE= ALSA AO AMRNB AMRWB FLAC GSM ID3TAG LADSPA LAME \
- MAD OPUS PNG PULSEAUDIO SNDFILE TWOLAME VORBIS WAVPACK
-OPTIONS_DEFAULT= AO FLAC GSM ID3TAG MAD OPUS PNG SNDFILE VORBIS
+OPTIONS_DEFINE= AMRNB AMRWB FLAC GSM ID3TAG LADSPA LAME MAD OPUS PNG \
+ SNDFILE TWOLAME VORBIS WAVPACK
+OPTIONS_DEFAULT= AO FLAC GSM ID3TAG MAD OPUS OSS PNG SNDFILE VORBIS
+OPTIONS_GROUP= SOUND
+OPTIONS_GROUP_SOUND= ALSA AO OSS PULSEAUDIO SNDIO
# Default LAME to off for packages so we don't end up RESTRICTED
.if !defined(PACKAGE_BUILDING)
OPTIONS_DEFAULT+= LAME
@@ -37,8 +39,7 @@
GSM_DESC= Use libgsm from ports (else use bundled lib)
PNG_DESC= PNG spectrogram creation
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -lpthread -L${LOCALBASE}/lib
+LDFLAGS+= -lpthread
CONFIGURE_ARGS+= --with-pkgconfigdir="${PREFIX}/libdata/pkgconfig"
CONFIGURE_ARGS+= --with-distro="${CONFIGURE_TARGET} ${PKGNAME}"
CONFIGURE_ARGS+= --with-gsm
@@ -76,11 +77,16 @@
MAD_CONFIGURE_WITH= mad
MAD_LIB_DEPENDS= libmad.so:audio/libmad
+OSS_CONFIGURE_WITH= oss
+
PNG_CONFIGURE_WITH= png
PNG_LIB_DEPENDS= libpng.so:graphics/png
PULSEAUDIO_CONFIGURE_WITH= pulseaudio
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
+
+SNDIO_CONFIGURE_WITH= sndio
+SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
GSM_LIB_DEPENDS= libgsm.so:audio/gsm
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 22, 10:33 AM (2 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31912890
Default Alt Text
D11227.diff (1 KB)
Attached To
Mode
D11227: audio/sox: Add SNDIO option and make enabling the sndio backend explicit
Attached
Detach File
Event Timeline
Log In to Comment