summaryrefslogtreecommitdiff
path: root/cad/magic/Makefile
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-02-03 01:58:43 +0000
committerrillig <rillig@pkgsrc.org>2006-02-03 01:58:43 +0000
commit23fc22fc0678a055ca02efdf127e95c191222e3f (patch)
tree30f98e5acea4bb5e638ff3b8459b202ab0fb3e02 /cad/magic/Makefile
parent479b304b4377ac3b645b7559c7d2106a1301eb98 (diff)
downloadpkgsrc-23fc22fc0678a055ca02efdf127e95c191222e3f.tar.gz
Fixed pkglint warnings.
Diffstat (limited to 'cad/magic/Makefile')
-rw-r--r--cad/magic/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/cad/magic/Makefile b/cad/magic/Makefile
index 75db3d93896..7aac756db8b 100644
--- a/cad/magic/Makefile
+++ b/cad/magic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/01/25 22:21:09 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2006/02/03 02:19:42 rillig Exp $
#
DISTNAME= magic-7.1
@@ -10,7 +10,7 @@ MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://vlsi.cornell.edu/magic/
COMMENT= Integrated circuit layout system
-USE_TOOLS+= gmake
+USE_TOOLS+= gmake printf
USE_GNU_READLINE= # uses rl_*_completion_function
MAKE_ENV+= MAGIC_HOME=${PREFIX:Q}
@@ -24,7 +24,7 @@ CPPFLAGS+= -DIS_LITTLE_ENDIAN
.include "../../mk/x11.buildlink3.mk"
post-patch:
- cd ${WRKSRC} && for f in `${FIND} . -type f -exec ${GREP} -l CAD_HOME {} /dev/null \;` ; do \
+ cd ${WRKSRC} && for f in `${FIND} . -type f -exec ${GREP} -l CAD_HOME {} /dev/null \\;` ; do \
${ECHO} "Replacing CAD_HOME in $$f" ; \
${MV} -f $$f $$f.bak ; ${SED} 's;CAD_HOME;MAGIC_HOME;g' $$f.bak > $$f ; \
${RM} $$f.bak ; \
@@ -32,7 +32,7 @@ post-patch:
${CHMOD} 755 ${WRKSRC}/scripts/config
do-configure:
- cd ${WRKSRC} && printf "1\n2\n6\n\n\n\n\n\n\n\n\n\n\n" | \
+ cd ${WRKSRC} && ${PRINTF} '1\n2\n6\n\n\n\n\n\n\n\n\n\n\n' | \
${SETENV} ${MAKE_ENV} ./scripts/config
.include "../../devel/readline/buildlink3.mk"