[csw-maintainers] Help for newbie creating a new package
Maciej Bliziński
maciej at opencsw.org
Wed Aug 3 10:10:25 CEST 2011
2011/8/3 Jesse Reynolds <jesse at opencsw.org>:
> CHECKPKG_OVERRIDES_CSWgperf +=
> bad-rpath-entry|/opt/SUNWspro/lib/v8|opt/csw/bin/gperf
> CHECKPKG_OVERRIDES_CSWgperf += bad-rpath-entry|/lib|opt/csw/bin/gperf
> CHECKPKG_OVERRIDES_CSWgperf +=
> bad-rpath-entry|/opt/SUNWspro/lib|opt/csw/bin/gperf
> CHECKPKG_OVERRIDES_CSWgperf +=
> bad-rpath-entry|/opt/SUNWspro/lib/rw7|opt/csw/bin/gperf
This check deals with the RPATH setting in the resulting binaries.
Sun Studio by default adds extra RPATH entries, e.g.
"/opt/SUNWspro/lib/v8". To fix this, you need to tell Sun Studio to
stop doing that:
EXTRA_CFLAGS = -xnorunpath
The EXTRA_CFLAGS variable value will be put by GAR into the right
places for autotools to pick up.
Maciej
More information about the maintainers
mailing list