ports/73958: [maintainer update]

Diane Bruce db at db.net
Mon Nov 15 03:30:29 UTC 2004


>Number:         73958
>Category:       ports
>Synopsis:       [maintainer update]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 15 03:30:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Diane Bruce
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
Very unorganised
>Environment:
System: FreeBSD night.db.net 5.3-STABLE FreeBSD 5.3-STABLE #4: Tue Nov 9 11:03:16 EST 2004 db at night.db.net:/usr/src/sys/i386/compile/NIGHT i386


>Description:
	echolinux has a copy of libgsm.a specific to i386 which breaks
        it on non i386.

>How-To-Repeat:
	Try to compile port on non i386

>Fix:

Is to use our ports/audio/gsm library instead using the following patch
applied to Makefile in echolinux top level port dir.


--- Makefile.orig	Sun Jul  4 19:28:31 2004
+++ Makefile	Sun Nov 14 21:53:18 2004
@@ -15,7 +15,8 @@
 MAINTAINER=	db at 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:${PORTSDIR}/audio/gsm

 USE_REINPLACE=	yes

@@ -30,6 +31,9 @@
 		${WRKSRC}/echogui/testgui_cb.c ${WRKSRC}/echogui/testgui_main.c \
 		${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:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list