summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-06-27 16:46:30 +0000
committeragc <agc@pkgsrc.org>2002-06-27 16:46:30 +0000
commitde5ca2d71d026e7f50a6a38ec9f7b28237a9f366 (patch)
tree3ca367d3e34d11f5529c8a743d17f795191c54df /cad
parent2eb0b8741489f5f9d5508b0a34fe461d4531e576 (diff)
downloadpkgsrc-de5ca2d71d026e7f50a6a38ec9f7b28237a9f366.tar.gz
Make this package xpkgwedge-friendly.
Diffstat (limited to 'cad')
-rw-r--r--cad/pcb/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/cad/pcb/Makefile b/cad/pcb/Makefile
index f04a7141310..284f3ae6d3f 100644
--- a/cad/pcb/Makefile
+++ b/cad/pcb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2002/06/15 20:07:45 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.14 2002/06/27 16:46:30 agc Exp $
# FreeBSD Id: Makefile,v 1.19 1998/10/31 18:05:31 jseger Exp
#
@@ -46,16 +46,17 @@ post-install:
if [ ! -f "${PCB_CONFDIR}/local.inc" ]; then \
${ECHO} "# list your local includes here" > ${PCB_CONFDIR}/local.inc ; \
fi
- ${MV} -f ${X11BASE}/lib/X11/pcb/m4/common.m4 ${X11BASE}/lib/X11/pcb/m4/common.m4.bak
+ ${MV} -f ${X11PREFIX}/lib/X11/pcb/m4/common.m4 ${X11PREFIX}/lib/X11/pcb/m4/common.m4.bak
${AWK} '/^divert\(0\)dnl/ { \
printf("include(${PCB_CONFDIR}/local.inc)\n"); \
printf("sinclude(site-config.inc)\n"); \
printf("sinclude(user-config.inc)\n"); \
printf("sinclude(proj-config.inc)\n"); \
} \
- {gsub(/^include\(/,"include(${X11BASE}/lib/X11/pcb/m4/"); print } ' \
- ${X11BASE}/lib/X11/pcb/m4/common.m4.bak > ${X11BASE}/lib/X11/pcb/m4/common.m4
- ${RM} -f ${X11BASE}/lib/X11/pcb/m4/common.m4.bak
+ {gsub(/^include\(/,"include(${X11PREFIX}/lib/X11/pcb/m4/"); print } ' \
+ ${X11PREFIX}/lib/X11/pcb/m4/common.m4.bak > ${X11PREFIX}/lib/X11/pcb/m4/common.m4
+ ${RM} -f ${X11PREFIX}/lib/X11/pcb/m4/common.m4.bak
.include "../../mk/texinfo.mk"
+.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"