pkgsrc-Users archive

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

libffi on solaris x64 and gcc



apparently although libffi now builds on solaris, there are problems during packaging on x64:

$ tree /tmp/pkgsrc/devel/libffi/work/.destdir/opt/pkg/
/tmp/pkgsrc/devel/libffi/work/.destdir/opt/pkg/
|-- include
|   |-- ffi.h
|   `-- ffitarget.h
|-- info
|   `-- libffi.info
|-- lib
|   |-- amd64
|   |   |-- libffi.a
|   |   |-- libffi.la
|   |   |-- libffi.so -> libffi.so.6.0.1
|   |   |-- libffi.so.6 -> libffi.so.6.0.1
|   |   `-- libffi.so.6.0.1
|   `-- pkgconfig
|       `-- libffi.pc
`-- man
    `-- man3
        |-- ffi.3
        |-- ffi_call.3
        |-- ffi_prep_cif.3
        `-- ffi_prep_cif_var.3

7 directories, 13 files
$ cat /tmp/pkgsrc/devel/libffi/work/.destdir/opt/pkg/lib/pkgconfig/libffi.pc
prefix=/opt/pkg
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=/opt/pkg/include

Name: libffi
Description: Library supporting Foreign Function Interfaces
Version: 3.0.12
Libs: -Wl,-R${libdir} -L${libdir} -lffi
Cflags: -I${includedir}

:~/src/pkgsrc/devel/libffi$ cat PLIST
@comment $NetBSD: PLIST,v 1.4 2012/09/14 23:45:27 asau Exp $
include/ffi.h
include/ffitarget.h
info/libffi.info
lib/libffi.la
lib/pkgconfig/libffi.pc
man/man3/ffi.3
man/man3/ffi_call.3
man/man3/ffi_prep_cif.3
man/man3/ffi_prep_cif_var.3

PLIST seems to follow what libffi.pc believes, but the build generates binaries in the multiarch directory lib/amd64

This seems to be an upstream problem...

are there other x64 builds suffering the same demise?



Home | Main Index | Thread Index | Old Index