FWIW,
I haven't looked at your workspace and reviewed it, but I thought that I
would provide you with a small bit of information that might help you
install your bits into the proto area without having to stage them
somewhere and then copy them from a staging area.
If you use install-proto as your BSD compatible install program when
you configure and install using the component's 'install' target, and
you add MANSCRIPT to the calling environment when you run the
component's install target, install-proto will automatically run the
MANSCRIPT against any man pages that it installs. Ex:
MAKE=$(GMAKE)
CONFIGURE_ENV += INSTALL="$(INSTALL_PROTO)"
...
INSTALL_ENV += INSTALL="$(INSTALL_PROTO)" # sometimes it doesn't
get set by configure
INSTALL_ENV += MANSCRIPT=$(COMPONENT_TOP)/sunman-stability
$(VER)/config.status: $(VER)/configure
(cd $(@D) ; env - $(CONFIGURE_ENV) $(CONFIG_SHELL) ./configure
$(CONFIGURE_OPTIONS))
$(TOUCH) $@
...
$(VER)/.installed: $(VER)/.built
(cd $(@D) ; env - $(INSTALL_ENV) $(MAKE) -e $(INSTALL_OPTIONS))
$(TOUCH) $@
install: $(VER)/.installed
# any cleanup you might want to do to the proto area after
installing the bits
-Norm
Amanda Waite wrote:
> Jan Forch wrote:
>> Hi,
>> please we need new webrev ASAP due to changes related to application
>> sunman-stability script on man pages outside of default man page
>> directory. It affected man pages of other projects.
>> Changes:
>>
>> Makefile.sfw:
>>
>> ++ CONFIGURE_OPTIONS += --mandir=/usr/share/man/tmp_freeipmi_man
> BTW: You'll need a second reviewer.
>
>
> It looks like you've solved the problem but I'm not sure that the
> proto_area is the right place for your tmp_freeipmi_man directory. The
> likes of samba and fastcgi create a temporary directory in the
> components workspace dir, maybe $SRC/cmd/freeipmi/prototmp
>
> Also, I noticed this:
>
> CONFIGURE_OPTIONS_64 += --libdir=/usr/lib/amd64
>
> Which I guess hasn't been picked up on before? Basically your SPARC
> package will deliver 64-bit libraries to /usr/lib/amd64 which might
> work for your binaries, but probably will break lots of other stuff.
> You need to change the above line to:
>
> CONFIGURE_OPTIONS_64 += --libdir=/usr/lib/$(MACH64)
>
> and then in the package you need to list the 64-bit binaries in
> prototype_sparc and prototype_i386 using the architecture specific
> paths, something like:
>
> s none usr/lib/sparcv9/libipmidetect.so=libipmidetect.so.0.0.0
> s none usr/lib/sparcv9/libipmidetect.so.0=libipmidetect.so.0.0.0
> f none usr/lib/sparcv9/libipmidetect.so.0.0.0 0755 root bin
> ...
> ...
>
> for prototype_sparc and
>
> s none usr/lib/amd64/libipmidetect.so=libipmidetect.so.0.0.0
> s none usr/lib/amd64/libipmidetect.so.0=libipmidetect.so.0.0.0
> f none usr/lib/amd64/libipmidetect.so.0.0.0 0755 root bin
> ...
> ...
>
> for prototype_i386
>
> Amanda
>>
>>
>> install.sfw:
>> please check whole file
>>
>> webrev presentation: http://cr.opensolaris.org/~jf222792/sfwnv_p
>>
>> Thank you
>> Jan Forch
>>
>
> _______________________________________________
> sfwnv-discuss mailing list
> sfwnv-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/sfwnv-discuss