ports/52894: Update port: devel/splint to 3.1.1
KATO Tsuguru
tkato at prontomail.com
Tue Jun 3 13:20:18 UTC 2003
>Number: 52894
>Category: ports
>Synopsis: Update port: devel/splint to 3.1.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 03 06:20:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 3.1.1
Remove file:
files/patch-src::Makefile.in
files/patch-test::Makefile.in
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/devel/splint/Makefile devel/splint/Makefile
--- /usr/ports/devel/splint/Makefile Sat Apr 12 22:43:55 2003
+++ devel/splint/Makefile Tue Jun 3 19:30:47 2003
@@ -6,8 +6,7 @@
#
PORTNAME= splint
-PORTVERSION= 3.0.1.6
-PORTREVISION= 1
+PORTVERSION= 3.1.1
CATEGORIES= devel security
MASTER_SITES= http://www.splint.org/downloads/
EXTRACT_SUFX= .src.tgz
@@ -15,13 +14,15 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= A tool for statically checking sourcecode for security vulnerabilities
-GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+USE_REINPLACE= yes
USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= splint.1
-post-install:
- @${INSTALL_MAN} ${WRKSRC}/doc/splint.1 ${MANPREFIX}/man/man1
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/Headers/constants.h
.include <bsd.port.mk>
diff -urN /usr/ports/devel/splint/distinfo devel/splint/distinfo
--- /usr/ports/devel/splint/distinfo Fri Mar 8 09:03:07 2002
+++ devel/splint/distinfo Tue Jun 3 18:53:01 2003
@@ -1 +1 @@
-MD5 (splint-3.0.1.6.src.tgz) = 3b19e62d5b3a8883ac356dff3615234c
+MD5 (splint-3.1.1.src.tgz) = 91635d98644312302f6f16abe73c2474
diff -urN /usr/ports/devel/splint/files/patch-src::Headers::constants.h devel/splint/files/patch-src::Headers::constants.h
--- /usr/ports/devel/splint/files/patch-src::Headers::constants.h Mon Nov 4 22:27:23 2002
+++ devel/splint/files/patch-src::Headers::constants.h Tue Jun 3 18:56:03 2003
@@ -5,7 +5,7 @@
/*@constant observer char *DEFAULT_SYSTEMDIR; @*/
-# define DEFAULT_SYSTEMDIR "/usr/"
-+# define DEFAULT_SYSTEMDIR "/usr/include/:/usr/lib/:/usr/local/include/:/usr/local/lib/"
++# define DEFAULT_SYSTEMDIR "/usr/include/:/usr/lib/:%%PREFIX%%/include/:%%PREFIX%%/lib/"
/*@constant char DEFAULT_COMMENTCHAR; @*/
# define DEFAULT_COMMENTCHAR '@'
diff -urN /usr/ports/devel/splint/files/patch-src::Makefile.in devel/splint/files/patch-src::Makefile.in
--- /usr/ports/devel/splint/files/patch-src::Makefile.in Fri Mar 8 09:03:12 2002
+++ devel/splint/files/patch-src::Makefile.in Thu Jan 1 09:00:00 1970
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig Sat Feb 23 16:59:27 2002
-+++ src/Makefile.in Sat Feb 23 17:00:02 2002
-@@ -603,7 +603,7 @@
- p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
- if test -f $$p \
- ; then \
-- f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
-+ f=splint; \
- echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
- $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
- else :; fi; \
diff -urN /usr/ports/devel/splint/files/patch-test::Makefile.in devel/splint/files/patch-test::Makefile.in
--- /usr/ports/devel/splint/files/patch-test::Makefile.in Fri Mar 8 09:03:12 2002
+++ devel/splint/files/patch-test::Makefile.in Thu Jan 1 09:00:00 1970
@@ -1,13 +0,0 @@
---- test/Makefile.in.orig Mon Feb 11 14:27:16 2002
-+++ test/Makefile.in Thu Mar 7 18:28:01 2002
-@@ -897,8 +897,8 @@
- mostlyclean-generic uninstall uninstall-am uninstall-info-am
-
-
--unexport LARCH_PATH
--unexport LCLIMPORTDIR
-+#unexport LARCH_PATH
-+#unexport LCLIMPORTDIR
-
- .PHONY: all check
- all check: fulltest
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list