From 3b3a966f95bb711db4cb7bff99ae964e44d4ce9e Mon Sep 17 00:00:00 2001 From: sbd Date: Tue, 2 Apr 2013 02:29:34 +0000 Subject: 1) configure in scripts dir but build in WRKSRC 2) use csh (and fix csh paths). --- cad/magic/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'cad') diff --git a/cad/magic/Makefile b/cad/magic/Makefile index de121aa67c8..69da5617162 100644 --- a/cad/magic/Makefile +++ b/cad/magic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2012/10/08 13:25:14 asau Exp $ +# $NetBSD: Makefile,v 1.28 2013/04/02 02:29:34 sbd Exp $ # DISTNAME= magic-7.5.188 @@ -14,15 +14,18 @@ LICENSE= magic-license MAKE_JOBS_SAFE= no -USE_TOOLS+= gmake printf +USE_TOOLS+= gmake printf csh USE_GNU_READLINE=yes # uses rl_*_completion_function MAKE_ENV+= MAGIC_HOME=${PREFIX:Q} MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR} GNU_CONFIGURE= yes -CONFIG_DIRS= scripts +CONFIGURE_DIRS= scripts +BUILD_DIRS= ${WRKSRC} MAKE_ENV+= X11_LDFLAGS=${X11_LDFLAGS:Q} +REPLACE_CSH+= scripts/makedbh scripts/printmans + CFLAGS.SunOS= -DSYSV .include "../../mk/endian.mk" -- cgit v1.2.3