aboutsummaryrefslogtreecommitdiffstats
path: root/audio/sox/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sox/Makefile')
-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>