Wed, 01 Aug 2012 23:49:03 +0200
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.
1 #!@l_prefix@/bin/openpkg rc
2 ##
3 ## rc.x11 -- Run-Commands
4 ##
6 %config
7 x11_bindir="@x11_bindir@"
8 x11_incdir="@x11_incdir@"
9 x11_libdir="@x11_libdir@"
11 %info -o
12 echo "X11 Binary Directory: ${x11_bindir}"
13 echo "X11 Include Directory: ${x11_incdir}"
14 echo "X11 Library Directory: ${x11_libdir}"