svn commit: r319261 - head/comms/echolinux
Baptiste Daroussin
bapt at FreeBSD.org
Mon May 27 15:54:33 UTC 2013
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
More information about the svn-ports-all
mailing list