summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorzuntum <zuntum>2001-10-31 08:10:54 +0000
committerzuntum <zuntum>2001-10-31 08:10:54 +0000
commitc34e5dc360bfc3429e0ba71974c37637b8da4836 (patch)
tree2f467d8da281f608a76f5ddbbbe85b67208bb620 /misc
parent1f73bc4458c0e38e646657b30cfbd59861ac113b (diff)
downloadpkgsrc-c34e5dc360bfc3429e0ba71974c37637b8da4836.tar.gz
Rewrite ${SED} & ${ECHO} hacks, and rename target from do-configure to
post-patch.
Diffstat (limited to 'misc')
-rw-r--r--misc/lile/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/misc/lile/Makefile b/misc/lile/Makefile
index 4ac00c625f6..9028260ee42 100644
--- a/misc/lile/Makefile
+++ b/misc/lile/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2001/02/17 18:09:11 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2001/10/31 08:10:54 zuntum Exp $
# FreeBSD Id: Makefile,v 1.3 1997/08/15 16:47:08 jmz Exp
#
@@ -11,9 +11,10 @@ EXTRACT_SUFX= .tar.z
MAINTAINER= packages@netbsd.org
COMMENT= Input Line Editor that wraps itself around programs
-do-configure:
- @(cd ${WRKSRC}; ${MV} Makefile Makefile.old; \
- ${SED} -e s:/usr/local:${PREFIX}: <Makefile.old > Makefile; \
- ${ECHO} all: ile >> Makefile; ${ECHO} CC=cc ${CFLAGS} >> Makefile)
+post-patch:
+ @(cd ${WRKSRC}; ${SED} "s,/usr/local,${PREFIX}," Makefile \
+ > Makefile.done; ${MV} Makefile.done Makefile; \
+ ${ECHO} all: ile >> Makefile; \
+ ${ECHO} CC=${CC} ${CFLAGS} >> Makefile )
.include "../../mk/bsd.pkg.mk"