Opened 19 years ago

Closed 19 years ago

#4826 closed defect (fixed)

UPDATE: inventor-2.1.5-10 image library variant

Reported by: sal@… Owned by: cssdev@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

inventor-2.1.5-10

Variant for Portfile for publishing image.h and libimage.dylib. Additional text inline (yeah, I know, not according to spec, but SO much easier).

Add to post-destroot:

xinstall -m 644 -W ${worksrcpath}/libimage libimage.a \

${destroot}${prefix}/lib

xinstall -m 644 -W ${worksrcpath}/libimage image.h \

${destroot}${prefix}/include

ranlib ${destroot}${prefix}/lib/libimage.a

Change History (5)

comment:1 Changed 19 years ago by cssdev@…

dependson: 4775
Status: newassigned

This seems like an excellent addition that would enhance the port for those that needs its capabilities. I'll add it once the Tiger fixes for BUG #4775 are committed.

comment:2 Changed 19 years ago by cssdev@…

Summary: UPDATE: inventor-2.1.5-10UPDATE: inventor-2.1.5-10 image library variant

Updated summary to include short summary.

comment:3 Changed 19 years ago by cssdev@…

Image library support makes a useful variant, and it may be committed to the Portfile as follows:

variant imagelib {

post-destroot-append {

xinstall -m 644 -W ${worksrcpath}/libimage libimage.a \

${destroot}${prefix}/lib

xinstall -m 644 -W ${worksrcpath}/libimage image.h \

${destroot}${prefix}/include

system "ranlib ${destroot}${prefix}/lib/libimage.a"

}

}

comment:4 Changed 19 years ago by cssdev@…

oops, here's the corrected one (forgot to remove the -append, which is not needed since post-destroot commands are chained together anyway).

variant imagelib {

post-destroot {

xinstall -m 644 -W ${worksrcpath}/libimage libimage.a \

${destroot}${prefix}/lib

xinstall -m 644 -W ${worksrcpath}/libimage image.h \

${destroot}${prefix}/include

system "ranlib ${destroot}${prefix}/lib/libimage.a"

}

}

comment:5 Changed 19 years ago by cssdev@…

Resolution: fixed
Status: assignedclosed

Resolved along with BUG #4775.

Note: See TracTickets for help on using tickets.