diff options
author | agc <agc@pkgsrc.org> | 2011-10-03 05:02:48 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2011-10-03 05:02:48 +0000 |
commit | 407158d897fb689f9fc516b7aae943414bf70138 (patch) | |
tree | 6ad4b9aca7a4d6d92f796bca5a66003cad551036 /misc/qterm | |
parent | 55e2a2073933add81b98a42073bd691349c466a4 (diff) | |
download | pkgsrc-407158d897fb689f9fc516b7aae943414bf70138.tar.gz |
Don't define our own dprintf() function in the package; it can clash
with a libc function of the same name. Use SUBST to modify the
function name.
Diffstat (limited to 'misc/qterm')
-rw-r--r-- | misc/qterm/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/misc/qterm/Makefile b/misc/qterm/Makefile index 8a2614e3ebe..4ce97f57324 100644 --- a/misc/qterm/Makefile +++ b/misc/qterm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2009/05/22 18:19:03 zafer Exp $ +# $NetBSD: Makefile,v 1.13 2011/10/03 05:02:48 agc Exp $ # DISTNAME= qterm-ac-1.0 @@ -20,4 +20,9 @@ PKG_DESTDIR_SUPPORT= user-destdir EGDIR= ${PREFIX}/share/examples/qterm CONF_FILES= ${EGDIR}/qtermtab ${PKG_SYSCONFDIR}/qtermtab +SUBST_CLASSES+= qterm +SUBST_STAGE.qterm= pre-configure +SUBST_FILES.qterm= aux.c qterm.c qterm.h table.c +SUBST_SED.qterm+= -e 's|dprintf|qterm_debug_printf|g' + .include "../../mk/bsd.pkg.mk" |