File pcp-pic.diff of Package pcp

---
 src/include/builddefs.in              |    2 +-
 src/include/buildrules                |    2 +-
 src/pmdas/simple/GNUmakefile.install  |    2 +-
 src/pmdas/trace/GNUmakefile.stub      |    2 +-
 src/pmdas/trivial/GNUmakefile.install |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

Index: pcp-2.5.0/src/include/builddefs.in
===================================================================
--- pcp-2.5.0.orig/src/include/builddefs.in
+++ pcp-2.5.0/src/include/builddefs.in
@@ -56,7 +56,7 @@ PTHREAD_LIB=@ac_cv_pthread_lib@
 PCP_LIBS = -L$(TOPDIR)/src/libpcp/src -L$(TOPDIR)/src/libpcp_pmda/src
 
 # platform-specific CFLAGS, LDLIBS, and shared library extension
-PCFLAGS = -fpic -fno-strict-aliasing
+PCFLAGS = -fPIC -fno-strict-aliasing
 DSOSUFFIX = so
 EXECSUFFIX =
 PLDFLAGS =
Index: pcp-2.5.0/src/include/buildrules
===================================================================
--- pcp-2.5.0.orig/src/include/buildrules
+++ pcp-2.5.0/src/include/buildrules
@@ -41,7 +41,7 @@ ifeq ($(TARGET_OS), linux)
 _SHAREDOPTS	= -shared -Wl,-soname,$(LIBTARGET)
 endif
 ifeq ($(TARGET_OS), solaris)
-_SHAREDOPTS	= -shared -fpic
+_SHAREDOPTS	= -shared -fPIC
 endif
 ifeq ($(TARGET_OS), darwin)
 # libtool doesnt understand -dynamiclib so we need both
Index: pcp-2.5.0/src/pmdas/simple/GNUmakefile.install
===================================================================
--- pcp-2.5.0.orig/src/pmdas/simple/GNUmakefile.install
+++ pcp-2.5.0/src/pmdas/simple/GNUmakefile.install
@@ -44,7 +44,7 @@ LDOPTS	=
 LDLIBS	= -lpcp_pmda -lpcp
 
 ifeq "$(PCP_PLATFORM)" "solaris"
-DSOOPTS	= -fpic -shared 
+DSOOPTS	= -fPIC -shared
 else
 DSOOPTS = -shared -Wl,-soname,$(LIBTARGET)
 endif
Index: pcp-2.5.0/src/pmdas/trace/GNUmakefile.stub
===================================================================
--- pcp-2.5.0.orig/src/pmdas/trace/GNUmakefile.stub
+++ pcp-2.5.0/src/pmdas/trace/GNUmakefile.stub
@@ -28,7 +28,7 @@ CFILES	= stub.c
 CFLAGS += -DPMTRACE_DEBUG
 HAVE_64	= $(shell test `uname -m` = "ia64" && echo 1 || echo 0)
 ifeq ($(HAVE_64), 1)
-CFLAGS += -fpic -fno-strict-aliasing
+CFLAGS += -fPIC -fno-strict-aliasing
 endif
 LDIRT	= lib lib32 lib64
 
Index: pcp-2.5.0/src/pmdas/trivial/GNUmakefile.install
===================================================================
--- pcp-2.5.0.orig/src/pmdas/trivial/GNUmakefile.install
+++ pcp-2.5.0/src/pmdas/trivial/GNUmakefile.install
@@ -44,7 +44,7 @@ LDOPTS	=
 LDLIBS	= -lpcp_pmda -lpcp
 
 ifeq "$(PCP_PLATFORM)" "solaris"
-DSOOPTS = -fpic -shared 
+DSOOPTS = -fPIC -shared
 else
 DSOOPTS = -shared -Wl,-soname,$(LIBTARGET)
 endif