aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-27 23:54:32 +0800
committerbapt <bapt@FreeBSD.org>2013-05-27 23:54:32 +0800
commitd7006fd5bdba84a42e4ee5cc169a926b0005f77a (patch)
tree388d0275402c2e9cd86368c422b4da3b10e833a9 /comms
parent699cb03a89d8cfedfe313ec00567a5851411d0e9 (diff)
downloadfreebsd-ports-gnome-d7006fd5bdba84a42e4ee5cc169a926b0005f77a.tar.gz
freebsd-ports-gnome-d7006fd5bdba84a42e4ee5cc169a926b0005f77a.tar.zst
freebsd-ports-gnome-d7006fd5bdba84a42e4ee5cc169a926b0005f77a.zip
Fix build on HEAD by adding USE_GCC=any (uses nested functions)
Diffstat (limited to 'comms')
-rw-r--r--comms/echolinux/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/comms/echolinux/Makefile b/comms/echolinux/Makefile
index de6ffc5ed527..fb73cbb59136 100644
--- a/comms/echolinux/Makefile
+++ b/comms/echolinux/Makefile
@@ -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 for UNIX
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