diff options
author | dmcmahill <dmcmahill> | 2007-09-28 21:11:49 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2007-09-28 21:11:49 +0000 |
commit | 4f4291190a2b3596759d76dedc0bb522aba45807 (patch) | |
tree | f76eba827bb9c4af7164aa716b21847a8b01d3b7 /cross/avrdude/Makefile | |
parent | 9fc309427e63eed2fc0d0e3c705f1ed10e55b966 (diff) | |
download | pkgsrc-4f4291190a2b3596759d76dedc0bb522aba45807.tar.gz |
Repair compilation on sunos and maybe others. Added some missing
autoconf tests, fixed a non portable call to the shell builtin
test, and use the pkgsrc DEFAULT_SERIAL_DEVICE variable for setting
the serial device.
Diffstat (limited to 'cross/avrdude/Makefile')
-rw-r--r-- | cross/avrdude/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/cross/avrdude/Makefile b/cross/avrdude/Makefile index 9c020475d67..1f657d87936 100644 --- a/cross/avrdude/Makefile +++ b/cross/avrdude/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.18 2006/12/11 16:26:39 wennmach Exp $ +# $NetBSD: Makefile,v 1.19 2007/09/28 21:11:49 dmcmahill Exp $ DISTNAME= avrdude-5.2 -#PKGREVISION= 1 +PKGREVISION= 1 CATEGORIES= cross MASTER_SITES= http://download.savannah.gnu.org/releases/avrdude/ @@ -16,7 +16,7 @@ TEX_ACCEPTED= teTeX3 .include "../../mk/bsd.prefs.mk" GNU_CONFIGURE= yes -USE_TOOLS+= makeinfo texi2html +USE_TOOLS+= autoconf automake makeinfo texi2html INFO_FILES= yes EGDIR= ${PREFIX}/share/examples/avrdude CONF_FILES= ${EGDIR}/avrdude.conf ${PKG_SYSCONFDIR}/avrdude.conf @@ -25,9 +25,16 @@ CONF_FILES_PERMS= ${EGDIR}/avrdude.conf ${PKG_SYSCONFDIR}/avrdude.conf \ CONFIGURE_ARGS+= --enable-doc CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} -CONFIGURE_ARGS+= --egconfdir=${EGDIR:Q} +CONFIGURE_ENV+= DEFAULT_SER_PORT=${DEFAULT_SERIAL_DEVICE:Q} PLIST_SUBST+= DISTNAME=${DISTNAME:Q} +# The autotools used by this pkg are older than what's in pkgsrc +# currently. This makes the diffs huge. +pre-configure: + cd ${WRKSRC} && aclocal + cd ${WRKSRC} && automake --add-missing + cd ${WRKSRC} && autoconf + .include "../../devel/readline/buildlink3.mk" .include "../../mk/tex.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |