Subject: pkg/15092: fix for devel/lclint
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hiramatu@boreas.dti.ne.jp>
List: netbsd-bugs
Date: 12/30/2001 03:04:28
>Number: 15092
>Category: pkg
>Synopsis: fix for devel/lclint
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Dec 29 10:05:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Hiramatsu Yoshifumi
>Release: -current(1.5Z)
>Organization:
>Environment:
<machine, os, target, libraries (multiple lines)>
System: NetBSD river.my.domain 1.5Z NetBSD 1.5Z (River) #0: Wed Dec 19 18:52:25 JST 2001 root@river.my.domain:/usr/src/sys/arch/i386/compile/River i386
Architecture: i386
Machine: i386
>Description:
Building devel/lclint failed with Error Code 1.
Patch in the 'Fix:' section solve this problem.
>How-To-Repeat:
# cd /usr/pkgsrc/devel/lclint
# make
>Fix:
diff -Nur lclint.orig/Makefile lclint/Makefile
--- lclint.orig/Makefile Sat Dec 29 04:15:58 2001
+++ lclint/Makefile Sat Dec 29 04:16:09 2001
@@ -3,6 +3,7 @@
VERSION= 2.5q
DISTNAME= lclint-${VERSION}.src
+PKGNAME= lclint-${VERSION}
CATEGORIES= devel
MASTER_SITES= http://lclint.cs.virginia.edu/
@@ -15,8 +16,5 @@
USE_GMAKE= YES
GNU_CONFIGURE= YES
PLIST_SUBST+= VERSION=${VERSION}
-
-do-build:
- cd ${WRKSRC}; unset CFLAGS CPPFLAGS; ${MAKE_PROGRAM}
.include "../../mk/bsd.pkg.mk"
diff -Nur lclint.orig/distinfo lclint/distinfo
--- lclint.orig/distinfo Sat Dec 29 04:15:58 2001
+++ lclint/distinfo Sat Dec 29 04:16:09 2001
@@ -2,5 +2,6 @@
SHA1 (lclint-2.5q.src.tar.gz) = 907e91d78f844c8c63a615dda477a25a74e62374
Size (lclint-2.5q.src.tar.gz) = 1573297 bytes
-SHA1 (patch-aa) = d6904c92442bafcaffbd55df7ca014c4b36e71e7
+SHA1 (patch-aa) = dedb20a754c687050c1dedf1f710832b416c2157
SHA1 (patch-ab) = a7015a6c0d5acad0354eb826b89774f098faaace
+SHA1 (patch-ac) = 989be6f79323fe59a853565c0645ef254a8ee1f7
diff -Nur lclint.orig/patches/patch-aa lclint/patches/patch-aa
--- lclint.orig/patches/patch-aa Sat Dec 29 04:15:58 2001
+++ lclint/patches/patch-aa Sat Dec 29 04:16:09 2001
@@ -1,7 +1,6 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/02/09 15:24:24 mjl Exp $
-
---- Makefile.in.orig Fri Feb 9 15:02:31 2001
-+++ Makefile.in Fri Feb 9 15:03:32 2001
+$NetBSD$
+--- Makefile.in.orig Thu Jul 27 11:19:17 2000
++++ Makefile.in Sat Dec 29 03:39:46 2001
@@ -37,10 +37,10 @@
###
@@ -15,6 +14,24 @@
### directory for lclint binary
INSTALLDIR = @installdir@/bin
+@@ -160,7 +160,7 @@
+ setenv LINKFLAGS '$(LINKFLAGS)' ; \
+ setenv DEFAULT_LARCHPATH '".:$(LIBDIR)"' ; \
+ setenv DEFAULT_LCLIMPORTDIR '"$(IMPORTSDIR)"' ; \
+- $(MAKE) -e localconstants ; $(MAKE) -e
++ $(MAKE) localconstants ; $(MAKE)
+ else
+ cd src ; CC='$(CC)'; export CC; CCOPT='$(CCOPT)'; \
+ BISON='$(BISON)' ; export BISON; FLEX='$(FLEX)'; export FLEX; \
+@@ -169,7 +169,7 @@
+ DEFAULT_LARCHPATH='".:$(LIBDIR)/"' ; export DEFAULT_LARCHPATH ;\
+ LINKFLAGS='$(LINKFLAGS)'; export LINK_FLAGS; \
+ DEFAULT_LCLIMPORTDIR='"$(IMPORTSDIR)"' ; export DEFAULT_LCLIMPORTDIR ;\
+- $(MAKE) -e localconstants ; $(MAKE) -e
++ $(MAKE) localconstants ; $(MAKE)
+ endif
+ @echo '// '
+ @echo '// Run: '$(MAKE)' test to check'
@@ -227,14 +227,14 @@
dolibraries:
@echo '// Installing libraries in '$(LIBDIR)
diff -Nur lclint.orig/patches/patch-ac lclint/patches/patch-ac
--- lclint.orig/patches/patch-ac Thu Jan 1 09:00:00 1970
+++ lclint/patches/patch-ac Sat Dec 29 04:16:09 2001
@@ -0,0 +1,14 @@
+$NetBSD$
+--- src/Makefile.sys.orig Sat Dec 29 03:48:26 2001
++++ src/Makefile.sys Sat Dec 29 03:48:37 2001
+@@ -47,8 +47,8 @@
+ DEBUGFLAGS = -DYYDEBUG=1 -DYYIMPURE=1 # don't change this
+
+ #BISON = /usr/bin/bison
+-BISON = /af10/evans/bison-1.28/bin/bison
+-FLEX = /usr/bin/flex
++#BISON = /af10/evans/bison-1.28/bin/bison
++#FLEX = /usr/bin/flex
+
+ ### bison flags
+
>Release-Note:
>Audit-Trail:
>Unformatted: