aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2005-11-03 20:33:07 +0800
committerlawrance <lawrance@FreeBSD.org>2005-11-03 20:33:07 +0800
commit5ba5d576dc9618e9a1e30ceffa547505f1697901 (patch)
tree47a8789f806c75c1df55775d5c2c4121ddce9bf4 /comms
parent4c2ccb98caabefba137399e209e20201afbc6898 (diff)
downloadfreebsd-ports-gnome-5ba5d576dc9618e9a1e30ceffa547505f1697901.tar.gz
freebsd-ports-gnome-5ba5d576dc9618e9a1e30ceffa547505f1697901.tar.zst
freebsd-ports-gnome-5ba5d576dc9618e9a1e30ceffa547505f1697901.zip
- Make PREFIX/LOCALBASE clean.
- Remove an old no-op REINPLACE_CMD. PR: ports/88289 Submitted by: Diane Bruce <db@db.net> (maintainer)
Diffstat (limited to 'comms')
-rw-r--r--comms/echolinux/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/comms/echolinux/Makefile b/comms/echolinux/Makefile
index 333905ed5701..f3c49878c53a 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|<linux/soundcard.h>|<sys/soundcard.h>|' \
${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: