aboutsummaryrefslogtreecommitdiff
path: root/comms/echolinux
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-11-15 23:17:54 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-11-15 23:17:54 +0000
commit888deba6846add87a38a7b337d65f06b7379944e (patch)
treec2e5d591611f6e7719d36280e36aaf7e2aad4a31 /comms/echolinux
parent9d4c647ba5578b533adf207623660f833335aab9 (diff)
downloadports-888deba6846add87a38a7b337d65f06b7379944e.tar.gz
ports-888deba6846add87a38a7b337d65f06b7379944e.zip
Notes
Diffstat (limited to 'comms/echolinux')
-rw-r--r--comms/echolinux/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/comms/echolinux/Makefile b/comms/echolinux/Makefile
index 37f2e671e65c..2836c697454e 100644
--- a/comms/echolinux/Makefile
+++ b/comms/echolinux/Makefile
@@ -7,6 +7,7 @@
PORTNAME= echolinux
PORTVERSION= 0.16a
+PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= cqinet
@@ -15,7 +16,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= db@db.net
COMMENT= Amateur Radio Echolink client for UNIX
-LIB_DEPENDS= forms.1:${PORTSDIR}/x11-toolkits/xforms
+LIB_DEPENDS= forms.1:${PORTSDIR}/x11-toolkits/xforms \
+ gsm.1:${PORTSDIR}/audio/gsm
USE_REINPLACE= yes
@@ -31,6 +33,9 @@ post-patch:
${WRKSRC}/echolinux/control.c ${WRKSRC}/echolinux/vox.c
@${REINPLACE_CMD} -e 's|CC = gcc -O3|#CC = gcc -O3|' -e 's|^CFLAGS =|CFLAGS +=|' \
${WRKSRC}/echolinux/Makefile
+ @${REINPLACE_CMD} -e 's|LFLAGS = -lm|LFLAGS = -L${LOCALBASE}/lib -lm -lgsm|' \
+ -e 's|libgsm.a||' -e 's|-Igsm/inc|-I${LOCALBASE}/include|' \
+ ${WRKSRC}/echolinux/Makefile
post-install:
.if !defined(NOPORTDOCS)