pkgsrc-Bugs archive

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

pkg/33730: parallel/pvm3 patch-bq libpvm3.la (allmost all system)



>Number:         33730
>Category:       pkg
>Synopsis:       parallel/pvm3 patch-bq libpvm3.la (allmost all system)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 14 14:05: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:


you can't make libpvm3.la because variable substution '.TARGET'
is empty when working whith gmake, I think patch-bq is wrong.

I provide also a patch for X86SOL2.def because of some missing '-D'
in X86SOL2.def for (maybe all) Solaris


>How-To-Repeat:


bmake


>Fix:


this is a patch of patch-bq.

--- patch-bq.orig       Wed Jun 14 15:45:49 2006
+++ patches/patch-bq    Wed Jun 14 15:46:15 2006
@@ -27,7 +27,7 @@
 -      rm -f $(LIBPVM).a
 -      $(AR) cr $(LIBPVM).a $(LOBJ) $(LPVMSOCK) $(SOCKLOBJ)
 -      case x$(HASRANLIB) in xt ) echo ranlib; ranlib $(LIBPVM).a ;; esac
-+      ${LIBTOOL} --mode=link ${CC} ${PVM_STATIC} -o ${.TARGET:.a=.la} 
${LOBJ:.o=.lo} \
++      ${LIBTOOL} --mode=link ${CC} ${PVM_STATIC} -o ${@:.a=.la} 
${LOBJ:.o=.lo} \
 +              ${LPVMSOCK:.o=.lo} ${SOCKLOBJ:.o=.lo} \
 +              -rpath ${PVM_DIR}/lib/$(PVM_ARCH) \
 +              -version-info ${PVMLIB_VER}


and the new patch i wish for solaris x86:

[root@u2 2085] less patches/patch-ca 
--- conf/X86SOL2.def.orig       Thu Oct  1 23:03:22 1998
+++ conf/X86SOL2.def    Fri Feb 24 11:14:04 2006
@@ -1,5 +1,6 @@
 ARCHCFLAGS     =       -DSYSVBFUNC -DSYSVSTR -DNOGETDTBLSIZ -DSYSVSIGNAL \
-                               -DNOWAIT3 -DNOUNIXDOM 
-DRSHCOMMAND=\"/usr/bin/rsh\"
+                               -DNOWAIT3 -DHASERRORVARS 
-DRSHCOMMAND=\"/usr/bin/rsh\" -DUSESTRERROR \
+                               -DHASSTDLIB -KPIC
 ARCHDLIB       =       -lnsl -lsocket
 ARCHDOBJ       =
 ARCHLIB                =       -lnsl -lsocket






Home | Main Index | Thread Index | Old Index