pkgsrc-Bugs archive

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

Re: pkg/38915: sysutils/gvfs compile problem in DragonFly

Since, as Hasso said, the D'fly libarchive is too old anyway,
imho it is reasonable to just avoid its use, and hope that
at some time there will be a version which is both properly
linked and new enough.
One could perhaps set BUILDLINK_API_DEPENDS.libarchive to
a value which cuts between the D'fly version and the others,
but I couldn't figure out a reasonable one.
So the appended patch should do it, with the platform
pattern adjusted eventually.
What do you think?

best regards

Forschungszentrum Juelich GmbH
52425 Juelich

Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
RCS file: /cvsroot/pkgsrc/archivers/libarchive/,v
retrieving revision 1.2
diff -u -r1.2
---  11 Apr 2008 20:37:06 -0000      1.2
+++  13 Jun 2008 10:02:09 -0000
@@ -78,6 +78,15 @@
 .        endif
 .      endfor
 .    endif
+# DragonFly's libarchive is outdated, and doesn't link against
+# required libraries
+.      if !empty(MACHINE_PLATFORM:M${_pattern_})
+USE_BUILTIN.libarchive= no
+.      endif
+.    endfor
 .  endif  # PREFER.libarchive
 MAKEVARS+=     USE_BUILTIN.libarchive

Home | Main Index | Thread Index | Old Index