pkgsrc/devel/cqual/Makefile
marino 0a77bffbca devel/cqual: Fix for modern gcc
There are several unreferenced functions in cqual which a modern gcc
complains about using -Werror.  After trying to fix a few of them, it
was easier just to stop considering warnings as errors.
2011-12-02 20:50:31 +00:00

39 lines
1,005 B
Makefile

# $NetBSD: Makefile,v 1.19 2011/12/02 20:50:31 marino Exp $
#
DISTNAME= cqual-0.991
PKGREVISION= 8
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cqual/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.cs.umd.edu/~jfoster/cqual/
COMMENT= Tool for adding type qualifiers to C
PKG_DESTDIR_SUPPORT= user-destdir
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_TOOLS+= gmake perl:run bison m4
REPLACE_PERL+= bin/*
INFO_FILES= yes
BUILDLINK_TRANSFORM= rm:-Werror
INSTALLATION_DIRS= share/doc/cqual share/examples/cqual
.include "options.mk"
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS" && ${OS_VERSION} == "5.8"
pre-build:
${ECHO} "/* empty dummy header */" > ${BUILDLINK_DIR:Q}/include/stdint.h
.endif
post-install:
${INSTALL_DATA} ${WRKSRC:Q}/doc/user-guide.pdf ${DESTDIR}${PREFIX}/share/doc/cqual/
${INSTALL_DATA} ${WRKSRC:Q}/examples/* ${DESTDIR}${PREFIX}/share/examples/cqual/
.include "../../editors/emacs/modules.mk"
.include "../../mk/bsd.pkg.mk"