pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/26414: lang/chicken does not create lib subdir



>Number:         26414
>Category:       pkg
>Synopsis:       lang/chicken does not create lib subdir for eggs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 23 09:11:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Peter Bex
>Release:        NetBSD 2.0_BETA
>Organization:
>Environment:
        
        
System: NetBSD frohike.nvie.com 2.0_BETA NetBSD 2.0_BETA (FROHIKE) #1: Tue Jul 
6 14:42:10 CEST 2004 
sjamaan%frohike.nvie.com@localhost:/usr/src/sys/arch/i386/compile/FROHIKE i386
Architecture: i386
Machine: i386
>Description:
        lang/chicken should create the $(prefix)/lib/chicken dir on
        installation, which is the place where egg libraries are stored.
>How-To-Repeat:
        Try installing an egg which is a library.  This will fail because
        the directory does not exist.
        Example:

        $ wget http://www.call-with-current-continuation.org/eggs/regex-case.egg
        $ chicken-setup regex-case.egg
        <some output indicating an error in the `cp' step>

>Fix:
        Here are the patches which should do the trick:

====================================================================
--- patch-aa.orig       2004-06-08 13:42:02.000000000 +0200
+++ patch-aa    2004-07-23 11:04:23.000000000 +0200
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.6 2004/06/02 06:56:07 itojun Exp $
+$NetBSD$
 
---- Makefile.am.orig   2004-05-21 06:20:58.000000000 +0900
-+++ Makefile.am        2004-06-02 15:29:24.000000000 +0900
-@@ -294,9 +294,9 @@
+--- Makefile.am.orig   2004-05-20 23:20:58.000000000 +0200
++++ Makefile.am
+@@ -294,9 +294,11 @@ pkgdata_DATA = chicken-match-macros.scm 
  
  # Install docs and sources.
  install-data-local : chicken.html
@@ -12,10 +12,12 @@
 +      $(mkinstalldirs) $(DESTDIR)$(prefix)/share/doc/chicken
 +      -for file in $(DOCFILES); do cp $(srcdir)/$$file 
$(DESTDIR)$(prefix)/share/doc/chicken; done
 +      $(mkinstalldirs) $(DESTDIR)$(prefix)/share/doc/chicken
++      $(mkinstalldirs) $(DESTDIR)$(prefix)$(pkglibdir)
++
  
  chicken.html: chicken.texi
        $(MAKEINFO) --no-split --html chicken.texi
-@@ -514,7 +514,7 @@
+@@ -514,7 +516,7 @@ paranoid :
  .PHONY : test
  
  test :
====================================================================

====================================================================
--- patch-ab.orig       2004-06-08 13:42:02.000000000 +0200
+++ patch-ab    2004-07-23 11:04:23.000000000 +0200
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.4 2004/06/02 06:56:07 itojun Exp $
+$NetBSD$
 
---- Makefile.in.orig   2004-05-21 06:21:13.000000000 +0900
-+++ Makefile.in        2004-06-02 15:31:19.000000000 +0900
-@@ -536,7 +536,7 @@
+--- Makefile.in.orig   2004-05-20 23:21:13.000000000 +0200
++++ Makefile.in
+@@ -536,7 +536,7 @@ am__CONFIG_DISTCLEAN_FILES = config.stat
   configure.lineno
  $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
        cd $(top_srcdir) && \
@@ -11,7 +11,7 @@
  Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
        cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
  
-@@ -1440,9 +1440,9 @@
+@@ -1440,9 +1440,11 @@ csc.scm: csc.scm.in
  
  # Install docs and sources.
  install-data-local : chicken.html
@@ -21,10 +21,12 @@
 +      $(mkinstalldirs) $(DESTDIR)$(prefix)/share/doc/chicken
 +      -for file in $(DOCFILES); do cp $(srcdir)/$$file 
$(DESTDIR)$(prefix)/share/doc/chicken; done
 +      $(mkinstalldirs) $(DESTDIR)$(prefix)/share/doc/chicken
++      $(mkinstalldirs) $(DESTDIR)$(prefix)$(pkglibdir)
++
  
  chicken.html: chicken.texi
        $(MAKEINFO) --no-split --html chicken.texi
-@@ -1630,7 +1630,7 @@
+@@ -1630,7 +1632,7 @@ paranoid :
  .PHONY : test
  
  test :
====================================================================

====================================================================
--- PLIST       2 Jun 2004 06:56:07 -0000       1.6
+++ PLIST       23 Jul 2004 09:02:59 -0000
@@ -73,5 +73,6 @@
 share/doc/chicken/chicken.html
 share/doc/chicken/chicken.pdf
 share/doc/chicken/format.txt
+@dirrm lib/chicken
 @dirrm share/doc/chicken
 @dirrm share/chicken
====================================================================
>Release-Note:
>Audit-Trail:
>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index