echolinux has a copy of libgsm.a specific to i386 which breaks it 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. -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:--opUbWIEMsSo9Crnb2NnDL0ry1xqncxuFkONbrTVFIijvybUn Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- Makefile.orig Sun Jul 4 19:28:31 2004 +++ Makefile Sun Nov 14 21:53:18 2004 @@ -15,7 +15,8 @@ MAINTAINER= db@db.net COMMENT= Amateur Radio Echolink client for UNIX How-To-Repeat: Try to compile port on non i386
State Changed From-To: open->closed Committed, thanks!