summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2013-04-02 02:29:34 +0000
committersbd <sbd@pkgsrc.org>2013-04-02 02:29:34 +0000
commit3b3a966f95bb711db4cb7bff99ae964e44d4ce9e (patch)
treefe7f5655a7c81e2fcf50c10cc882afdc5d55417d /cad
parent2f71fbed958b49f3b98613be03387060347f03fd (diff)
downloadpkgsrc-3b3a966f95bb711db4cb7bff99ae964e44d4ce9e.tar.gz
1) configure in scripts dir but build in WRKSRC
2) use csh (and fix csh paths).
Diffstat (limited to 'cad')
-rw-r--r--cad/magic/Makefile9
1 files changed, 6 insertions, 3 deletions
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"