From 5ba5d576dc9618e9a1e30ceffa547505f1697901 Mon Sep 17 00:00:00 2001 From: lawrance Date: Thu, 3 Nov 2005 12:33:07 +0000 Subject: - Make PREFIX/LOCALBASE clean. - Remove an old no-op REINPLACE_CMD. PR: ports/88289 Submitted by: Diane Bruce (maintainer) --- comms/echolinux/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'comms') diff --git a/comms/echolinux/Makefile b/comms/echolinux/Makefile index 333905e..f3c4987 100644 --- a/comms/echolinux/Makefile +++ b/comms/echolinux/Makefile @@ -22,11 +22,10 @@ LIB_DEPENDS= forms.1:${PORTSDIR}/x11-toolkits/xforms \ USE_REINPLACE= yes post-patch: - @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/echolinux/Makefile \ - ${WRKSRC}/echogui/Makefile @${REINPLACE_CMD} -e 's|gcc|$${CC}|' -e 's|/usr/include/X11|$${X11BASE}/include|' \ -e 's|-o echogui -L/usr/X11R6/lib -lX11 -lXpm -lforms -lm -lpthread|$${CFLAGS} -o echogui -L$${X11BASE}/lib -lX11 -lXpm -lforms -lm ${PTHREAD_LIBS}|' \ -e 's|CARGS|CFLAGS|' -e 's|= -DNodeFont=FL_TINY_SIZE|+= ${PTHREAD_CFLAGS} -DNodeFont=FL_TINY_SIZE|' \ + -e 's|/usr/local/bin/|$${PREFIX}/bin/|' \ ${WRKSRC}/echogui/Makefile @${REINPLACE_CMD} -e 's|||' \ ${WRKSRC}/echogui/testgui_cb.c ${WRKSRC}/echogui/testgui_main.c \ @@ -35,6 +34,7 @@ post-patch: ${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|' \ + -e 's|/usr/local/bin/|$${PREFIX}/bin/|' \ ${WRKSRC}/echolinux/Makefile post-install: -- cgit v1.1