pkgsrc/devel/ddd/Makefile
martti 563bb274e7 Updated ddd to 3.3.10
* New features and minor improvements
- More fixes for perl 5.8.x -- it's now a lot more usable.
- Fixes for Sun's SunONE Studio dbx (1). Build with -DHAVE_SUNDBX is
  necessary. Improvements for automatic detection of Sun DBX are welcome.
- Fixes for MacOS X (mainly workarounds for bugs in gdb) (2).
- Support for PHP debugger has been added (1).  This is essentially not
  tested.
- Source files in subdirectories should be located automatically
  when using dbx (tested on Solaris' dbx) (2).
- The perl version supported by DDD is now 5.8.x.  The perl debugger
  changed between perl 5.6.x and perl 5.8.0, which made this update necessary.
  This change is not backwards-compatible.  If it is not possible to upgrade
  your perl version to 5.8.x or newer, then you can simply install the file
  "perl5db.pl" from a recent perl distribution into your old perl tree.
- Through the maintenance menu ("ddd --maintenance"), it now possible to get
  a leak check of ddd if ddd is run under valgrind. This is only useful for
  ddd developers (or anybody that wants to help making ddd better).
- Several minor bugs fixed, some memory leaks plugged, more code clean-up
  done.
- A bug affecting platforms where the size of function pointers is 16 has
  been fixed.
- The settings window now starts at a larger, more reasonable size, and
  allows the user to resize it.

* Build fixes
- automake 1.9 is now the minimum requirement. This affects only builds
  from CVS repository.
- A warning is emitted if a version of g++ older than 3.1 is used.
- libiberty is neither linked nor bundled anymore.
- GNU libtermcap is not bundled anymore. A termcap like library (such as
  ncurses) is now required to build ddd.
- The configure machinery has been updated to conform more closely to the
  autoconf 2.5x requirements. Several bugs have been fixed.
  Minimum requirements: autoconf 2.59, automake 1.7.9, libtool 1.5.
- libiberty (which provides missing standard functions) is not linked by
  default anymore. configure has a new option '--with-libiberty' that
  enables the libiberty support if required.
  If nobody complains, libiberty will be unbundled in a next version.
- The libiberty distributed with ddd has been upgraded to the one included
  in GCC 3.4 20040116. It fixes some configuration problems.
- Builds with GCC 3.4, with IBM xlC on AIX, with Compaq/HP cxx on Tru64,
  on X11R5 based systems, with SGI CC on IRIX should be OK.
- Builds on HP-UX should now work out-of-the-box. Motif is linked statically
  and the Athena libraries are now found by default.
- Builds without Motif/Lesstif available abort with an adequate message.
- Builds with readline support now work. readline is not bundled anymore.
- Builds without -DNDEBUG (i.e. with "assert" enabled) now work.
  Default build enables assertions (i.e. -DNDEBUG is not used).
- Several missing files in the distribution are now included.
- Cygwin is supported again.
2005-01-11 09:04:16 +00:00

54 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.61 2005/01/11 09:04:16 martti Exp $
#
DISTNAME= ddd-3.3.10
#PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=ddd/}
MAINTAINER= martti@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/ddd/
COMMENT= Data Display Debugger -- graphical front-end for GDB/DBX/XDB
GNU_CONFIGURE= YES
INFO_FILES= ddd-themes.info ddd.info
TEST_TARGET= check
USE_BUILDLINK3= YES
USE_GNU_TOOLS+= make
USE_LANGUAGES= c c++
USE_X11BASE= YES
GCC_REQD+= 3.0
CONFIGURE_ARGS+= --with-ncurses=no
CONFIGURE_ENV+= COMPFACE="${FALSE}"
.include "../../mk/bsd.prefs.mk"
post-patch:
@case "${PAPERSIZE}" in \
A4) ${ECHO} "Using A4 paper size" ;; \
Letter*) ${ECHO} "Using US Letter paper size"; \
${MV} ${WRKSRC}/ddd/Ddd.in ${WRKSRC}/ddd/Ddd.in.orig; \
${SED} -e 's|@Ddd@\*paperSize: 210mm x 297mm|@Ddd@*paperSize: 8.5" x 11"|' \
< ${WRKSRC}/ddd/Ddd.in.orig \
> ${WRKSRC}/ddd/Ddd.in ;; \
"") ${ECHO} "PAPERSIZE not set - defaulting to A4" ;; \
*) ${ECHO} "Bad PAPERSIZE - $$PAPERSIZE - defaulting to A4" ;; \
esac;
post-configure:
${ECHO} "LIBXM = ${MOTIFLIB}" >> ${WRKSRC}/ddd/Makefile
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ddd
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ddd
${INSTALL_DATA} ${WRKSRC}/doc/ddd-paper.ps ${PREFIX}/share/doc/ddd
${INSTALL_DATA} ${WRKSRC}/doc/ddd.ps ${PREFIX}/share/doc/ddd
${INSTALL_DATA} ${WRKSRC}/doc/ddd.pdf ${PREFIX}/share/doc/ddd
${GZIP_CMD} ${PREFIX}/share/doc/ddd/ddd-paper.ps
${GZIP_CMD} ${PREFIX}/share/doc/ddd/ddd.ps
.include "../../graphics/xpm/buildlink3.mk"
.include "../../mk/motif.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"