openpkg/rc.conf

Wed, 01 Aug 2012 23:49:03 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 01 Aug 2012 23:49:03 +0200
changeset 436
f26e9329b115
parent 427
71503088f51b
permissions
-rw-r--r--

Hack rpmconstant header file to allow targets to build, because...
Solaris studio cc(1) fails to build targets in rpmconstant with errors:
'undefined symbol first referenced in file constant.o' regarding symbols:
rpmdsInit, rpmdsNext, rpmdsTagN, rpmHeaderFormats, hdrVec, rpmTagTable,
rpmdsSearch, rpmdsResult, rpmTags, rpmdsIx, rpmdsDNEVR, rpmdsSetResult.
It seems that these symbols are not used by RPM in any way, and thus
the build configuration can succeed without including the nasty headers.

michael@13 1 ##
michael@428 2 ## @l_prefix@/etc/rc.conf -- Run-Command Configuration for OpenPKG Hierarchy
michael@13 3 ##
michael@13 4 ## This Bourne-Shell script is sourced from @l_prefix@/etc/rc after
michael@13 5 ## reading the %config sections from the @l_prefix@/etc/rc.d/rc.<name>
michael@13 6 ## script and before executing its %<cmd> section when
michael@428 7 ## "@l_prefix@/bin/openpkg rc <name> <cmd>" is run. You can use this to
michael@13 8 ## override all configuration variables which are listed in the output
michael@428 9 ## of the "@l_prefix@/bin/openpkg rc --config" command. By default this
michael@13 10 ## script obviously is empty.
michael@13 11 ##
michael@13 12

mercurial