mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Use external libgsm instead of bundled object file
PR: ports/73958 Submitted by: Diane Bruce <db@db.net> (maintainer)
This commit is contained in:
parent
9d4c647ba5
commit
888deba684
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121723
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user