Date: Mon, 27 May 2013 15:54:33 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319261 - head/comms/echolinux Message-ID: <201305271554.r4RFsXLt054447@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Mon May 27 15:54:32 2013 New Revision: 319261 URL: http://svnweb.freebsd.org/changeset/ports/319261 Log: Fix build on HEAD by adding USE_GCC=any (uses nested functions) Modified: head/comms/echolinux/Makefile Modified: head/comms/echolinux/Makefile ============================================================================== --- head/comms/echolinux/Makefile Mon May 27 15:52:35 2013 (r319260) +++ head/comms/echolinux/Makefile Mon May 27 15:54:32 2013 (r319261) @@ -1,9 +1,5 @@ -# ports collection makefile for: echolinux -# Date created: 25 June 2004 -# Whom: db -# +# Created by: db # $FreeBSD$ -# PORTNAME= echolinux PORTVERSION= 0.17a @@ -18,6 +14,10 @@ COMMENT= Amateur Radio Echolink client f LIB_DEPENDS= forms.2:${PORTSDIR}/x11-toolkits/xforms \ gsm.1:${PORTSDIR}/audio/gsm +USE_GCC= any + +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e 's|gcc|$${CC}|' -e 's|/usr/include/X11|$${LOCALBASE}/include|' \ -e 's|-o echogui -L/usr/X11R6/lib -lX11 -lXpm -lforms -lm -lpthread|$${CFLAGS} -o echogui -L$${LOCALBASE}/lib -lX11 -lXpm -lforms -lm ${PTHREAD_LIBS}|' \ @@ -35,7 +35,7 @@ post-patch: ${WRKSRC}/echolinux/Makefile post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README @${INSTALL_DATA} ${WRKSRC}/Using_EchoLinux.txt ${DOCSDIR}/Using_EchoLinux.txt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305271554.r4RFsXLt054447>