pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/33629: lang/f2c Solaris10
>Number: 33629
>Category: pkg
>Synopsis: lang/f2c Solaris10
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 02 09:35:00 +0000 2006
>Originator: Gilles Dauphin
>Release: SunOS 5.10 i86pc
>Organization:
ENST
>Environment:
System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc
>Description:
First time install:
=> Generating post-install file lists
===> Registering installation for f2c-20001205nb8
=> Checking for missing run-time search paths in f2c-20001205nb8
=> Checking for work-directory references in f2c-20001205nb8
=> Checking file-check results for f2c-20001205nb8
*** The PLIST does not match installed files!
*** The following files are in /usr/pkg but not in the PLIST:
/usr/pkg/man/cat1/f2c.0
*** Error code 1
>How-To-Repeat:
bmake insall , first install
>Fix:
patch/patch-aa
--- Makefile.orig 2006-06-02 10:21:38.993833000 +0200
+++ Makefile 2006-06-02 10:23:40.743976000 +0200
@@ -0,0 +1,45 @@
+# Top level Makefile for f2c, libF77, and libI77
+
+all: f2c libF77/libF77.la libI77/libI77.la f2c-f77 man
+
+
+f2c:
+ @echo Making all in 'src'
+ cd src; ${MAKE} all
+ cp src/f2c f2c
+
+libF77/libF77.la:
+ @echo Making all in 'libF77'
+ cd libF77 && ${MAKE} all LIBDIR=${PREFIX}/lib
+
+libI77/libI77.la:
+ @echo Making all in 'libI77'
+ cd libI77 && ${MAKE} all LIBDIR=${PREFIX}/lib
+
+man: f2c.1
+
+f2c.1: f2c.1t
+ rm f2c.1
+ sed 's!/usr!${PREFIX}!g' f2c.1t | sed 's!lib/libc.a!usr/lib/libc.a!g' >
f2c.1
+
+
+install::
+ -@mkdir -p ${PREFIX}/bin
+ ${BSD_INSTALL_PROGRAM} ./src/f2c ${PREFIX}/bin
+ ${BSD_INSTALL_SCRIPT} ./f2c-f77 ${PREFIX}/bin
+ -@mkdir -p ${PREFIX}/lib
+ @cd libI77 && ${MAKE} install LIBDIR=${PREFIX}/lib
+ @cd libF77 && ${MAKE} install LIBDIR=${PREFIX}/lib
+ -@mkdir -p ${PREFIX}/include
+ ${BSD_INSTALL_DATA} ./f2c.h ${PREFIX}/include
+ -@mkdir -p ${PREFIX}/share/doc/f2c
+ ${BSD_INSTALL_DATA} ./f2c.ps ${PREFIX}/share/doc/f2c
+ ${BSD_INSTALL_DATA} ./changes ${PREFIX}/share/doc/f2c
+ ${BSD_INSTALL_MAN} ./f2c.1 ${PREFIX}/man/man1
+
+f2c-f77: fc f2c hello.f
+ ./src/f2c -Aw8 -Nn802 -Nx400 hello.f
+ $(CC) $(CFLAGS) -c hello.c
+ main=`$(NM) hello.o | ${AWK} 'BEGIN{x=""} {gsub(/\|/,""); for(i=1;
i<=NF; i=i+1){if($$i ~ /MAIN/){x="-u " $$i}}} END{print x}'` ; \
+ ${ECHO} "Adding $$main to f2c-f77 script" ; \
+ sed -e 's;@PREFIX@;${PREFIX};g' -e 's;@CC@;${CC};g' -e
's;@CPP@;${CPP};g' -e "s;@MAIN@;$$main;g" fc > f2c-f77
Home |
Main Index |
Thread Index |
Old Index