x11/rc.x11

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
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@82 1 #!@l_prefix@/bin/openpkg rc
michael@82 2 ##
michael@82 3 ## rc.x11 -- Run-Commands
michael@82 4 ##
michael@82 5
michael@82 6 %config
michael@82 7 x11_bindir="@x11_bindir@"
michael@82 8 x11_incdir="@x11_incdir@"
michael@82 9 x11_libdir="@x11_libdir@"
michael@82 10
michael@82 11 %info -o
michael@82 12 echo "X11 Binary Directory: ${x11_bindir}"
michael@82 13 echo "X11 Include Directory: ${x11_incdir}"
michael@82 14 echo "X11 Library Directory: ${x11_libdir}"
michael@82 15

mercurial