summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-08-15 02:31:53 +0000
committerobache <obache@pkgsrc.org>2010-08-15 02:31:53 +0000
commit5bdcb02031bf59edf51a2d241f1910985d5e5713 (patch)
tree71fd8ad04aa115a7adb310b9dd86a1dee3fc1e27
parent6a901e831f6aeddb62d84680170572e3421eb583 (diff)
downloadpkgsrc-5bdcb02031bf59edf51a2d241f1910985d5e5713.tar.gz
Update cproto to 4.7i.
Based on PR#43763 by Kamel Derouiche, additionaly, some clean up. 2010/07/14 (4.7i) - escape dashes used in manpage, to work with groff (patch by Kenneth Pronovici) - add RPM and Debian build scripts, for testing. - add configure checks for ctags and lint program. - fix strict compiler warnings, e.g., using const. - support DESTDIR variable in makefile. - drop mkdirs.sh, use "mkdir -p" - several improvements to configure macros - quoted ifelse() params - distinguish Darwin 9 from previous releases - ignore stderr in check for gcc version, to work with c89 wrapper. - use consistent date and formatting in the CHANGES file, for processing contributor's information using a script. - update config.guess, config.sub 2009/09/3 (4.7h) - updated configure macros CF_ADD_CFLAGS CF_GCC_ATTRIBUTES CF_GCC_WARNINGS CF_XOPEN_SOURCE - update config.guess, config.sub 2008/11/19 (4.7g) - modify cpp command to redirect stderr to /dev/null if -q option is given, for consistency with the non-cpp mode (report by Nicolas Limare). https://bugs.launchpad.net/ubuntu/+source/cproto/+bug/275248 - add configure --disable-leaks option. - use configure macro CF_XOPEN_SOURCE macro to make mkstemp() prototyped on Linux. - remove isascii() usage. - code cleanup, to remove K&R relics. - update config.guess, config.sub
-rw-r--r--devel/cproto/Makefile19
-rw-r--r--devel/cproto/Makefile.version4
-rw-r--r--devel/cproto/distinfo8
3 files changed, 8 insertions, 23 deletions
diff --git a/devel/cproto/Makefile b/devel/cproto/Makefile
index 60e24c821c7..0be18617122 100644
--- a/devel/cproto/Makefile
+++ b/devel/cproto/Makefile
@@ -1,12 +1,10 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/10/25 06:15:38 bjs Exp $
+# $NetBSD: Makefile,v 1.2 2010/08/15 02:31:53 obache Exp $
#
-.include "Makefile.version"
-
-DISTNAME= cproto
-PKGNAME= cproto-${CPROTO_VERSION}
+DISTNAME= cproto-4.7i
CATEGORIES= devel
MASTER_SITES= ftp://invisible-island.net/cproto/
+EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://invisible-island.net/cproto/
@@ -14,16 +12,7 @@ COMMENT= Generates function prototypes from C source
PKG_DESTDIR_SUPPORT= user-destdir
-WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
GNU_CONFIGURE= yes
-###
-### XXX I cannot figure out why it won't build without bash.
-### If you can fix this, please do.
-###
-USE_TOOLS+= bash bison flex
-CONFIG_SHELL= ${BASH}
-
-INSTALL_MAKE_FLAGS+= prefix=${DESTDIR:Q}${PREFIX:Q}
-INSTALL_MAKE_FLAGS+= mandir=${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR:Q}/man1
+USE_TOOLS+= yacc lex
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/cproto/Makefile.version b/devel/cproto/Makefile.version
deleted file mode 100644
index 76d9fcf467d..00000000000
--- a/devel/cproto/Makefile.version
+++ /dev/null
@@ -1,4 +0,0 @@
-# $NetBSD: Makefile.version,v 1.1.1.1 2008/10/25 06:15:38 bjs Exp $
-#
-
-CPROTO_VERSION= 4.7f
diff --git a/devel/cproto/distinfo b/devel/cproto/distinfo
index a11b30d46cd..2cac1ff5dfd 100644
--- a/devel/cproto/distinfo
+++ b/devel/cproto/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/10/25 06:15:38 bjs Exp $
+$NetBSD: distinfo,v 1.2 2010/08/15 02:31:54 obache Exp $
-SHA1 (cproto.tar.gz) = 7a7f9964770b2091074964ba2906f687519942d6
-RMD160 (cproto.tar.gz) = 95ad5c790af622d491117a4f346b13b895622047
-Size (cproto.tar.gz) = 149616 bytes
+SHA1 (cproto-4.7i.tgz) = 325639213a7c252720e75a88f699a13bcbf16942
+RMD160 (cproto-4.7i.tgz) = 5c594d9a936d2fa8f34389f95fa46f6b486f69f2
+Size (cproto-4.7i.tgz) = 159739 bytes