aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>1999-12-25 03:28:04 +0800
committermharo <mharo@FreeBSD.org>1999-12-25 03:28:04 +0800
commit99c6b7389f3f46d7802406c9de6b404ad2495ee6 (patch)
tree32dda13ff60175a0431478b4c43baed182c7f52a
parentf848d9a1da383a67c5bd3a910357f04b9816845a (diff)
downloadfreebsd-ports-gnome-99c6b7389f3f46d7802406c9de6b404ad2495ee6.tar.gz
freebsd-ports-gnome-99c6b7389f3f46d7802406c9de6b404ad2495ee6.tar.zst
freebsd-ports-gnome-99c6b7389f3f46d7802406c9de6b404ad2495ee6.zip
add gsm support option
PR: 14963 Submitted by: Joe Abley <jabley@patho.gen.nz>
-rw-r--r--audio/sox/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/sox/Makefile b/audio/sox/Makefile
index 740e95e0ae89..fa7a23c1d637 100644
--- a/audio/sox/Makefile
+++ b/audio/sox/Makefile
@@ -18,4 +18,9 @@ MLINKS= play.1 rec.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-fast-ulaw --enable-fast-alaw --with-oss-dsp
+.if defined(USE_GSM)
+CONFIGURE_ARGS+= --with-gsmlib=${PREFIX}/lib --with-gsminc=${PREFIX}/include
+LIB_DEPENDS+= gsm.1:${PORTSDIR}/audio/gsm
+.endif
+
.include <bsd.port.mk>