From 682e45d4ad2331570b126cd5de347360d33cbac3 Mon Sep 17 00:00:00 2001 From: Mark Pulford Date: Sat, 1 Feb 2003 01:29:32 +0000 Subject: Changed to use REINPLACE Fixed build under 5.0 PR: 46528 Submitted by: Hendrik Scholz --- sysutils/bubblemon-dockapp/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'sysutils/bubblemon-dockapp/Makefile') diff --git a/sysutils/bubblemon-dockapp/Makefile b/sysutils/bubblemon-dockapp/Makefile index c0e68ed939eb..0ddef6004fb2 100644 --- a/sysutils/bubblemon-dockapp/Makefile +++ b/sysutils/bubblemon-dockapp/Makefile @@ -13,6 +13,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/0$//} MAINTAINER= markp@FreeBSD.org +USE_REINPLACE= yes USE_X_PREFIX= yes USE_GMAKE= yes USE_GNOMENG= yes @@ -21,10 +22,12 @@ MAKE_ARGS+= PREFIX="${PREFIX}" EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME} post-patch: - ${PERL} -pi -e "s@CC = gcc@CC = ${CC}@g; s@-O3 -ansi -Wall@${CFLAGS} -Wall@g; \ - s@PREFIX = /usr/local@PREFIX = ${PREFIX}@g; \ - s@gtk-config@${GTK_CONFIG}@g; s@-lgtk@-lgtk12@g; \ - s@-c -g kmem -m 2755 -o root@-s -c -g kmem -m 2755 -o root@g" ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e "s@CC = gcc@CC = ${CC}@g; \ + s@-O3 -ansi -Wall@${CFLAGS} -Wall@g; \ + s@PREFIX = /usr/local@PREFIX = ${PREFIX}@g; \ + s@gtk-config@${GTK_CONFIG}@g; s@-lgtk@-lgtk12@g; \ + s@-c -g kmem -m 2755 -o root@-s -c -g kmem -m 2755 -o root@g" \ + ${WRKSRC}/Makefile post-install: ${MKDIR} ${EXAMPLESDIR} -- cgit v1.2.3