misplaced compiler flags in pkgconfig files

Benedikt Meurer Benedikt.Meurer at unix-ag.uni-siegen.de
Sun Feb 23 17:13:11 CET 2003


Hello,

The pkgconfig files in libxfce{4mcs,gui4} include the @CFLAGS@ in the
Cflags, which puts compiler flags like optimizations, warning and error
settings, e.g. into the system pkgconfig files. I think, that is not
how its meant to be :-). The files should only include path and library
flags and required defines.

See the appended patches.

redargs,
Benedikt

-- 
Those who do not understand Unix are condemned to reinvent it, poorly.
    -- Henry Spencer
-------------- next part --------------
--- libxfce4mcs/libxfce4mcs-client-1.0.pc.in.orig	Sun Feb 23 15:01:44 2003
+++ libxfce4mcs/libxfce4mcs-client-1.0.pc.in	Sun Feb 23 15:01:55 2003
@@ -8,4 +8,4 @@
 Requires: glib-2.0 
 Version: @VERSION@
 Libs: -L${libdir} @LIBS@ @X_LIBS@ @BASE_DEPENDENCIES_LIBS@ -lxfce4mcs-client
-Cflags: @CFLAGS@ @X_CFLAGS@ @BASE_DEPENDENCIES_CFLAGS@ -I${includedir}/xfce4
+Cflags:  @X_CFLAGS@ @BASE_DEPENDENCIES_CFLAGS@ -I${includedir}/xfce4
--- libxfce4mcs/libxfce4mcs-manager-1.0.pc.in.orig	Sun Feb 23 15:02:06 2003
+++ libxfce4mcs/libxfce4mcs-manager-1.0.pc.in	Sun Feb 23 15:02:13 2003
@@ -8,4 +8,4 @@
 Requires: glib-2.0 
 Version: @VERSION@
 Libs: -L${libdir} @LIBS@ @X_LIBS@ @BASE_DEPENDENCIES_LIBS@ -lxfce4mcs-manager
-Cflags: @CFLAGS@ @X_CFLAGS@ @BASE_DEPENDENCIES_CFLAGS@ -I${includedir}/xfce4
+Cflags: @X_CFLAGS@ @BASE_DEPENDENCIES_CFLAGS@ -I${includedir}/xfce4
-------------- next part --------------
--- libxfcegui4/libxfcegui4-1.0.pc.in.orig	Sun Feb 23 14:55:02 2003
+++ libxfcegui4/libxfcegui4-1.0.pc.in	Sun Feb 23 14:56:00 2003
@@ -8,4 +8,4 @@
 Requires: glib-2.0 gdk-2.0 gtk+-2.0 
 Version: @VERSION@
 Libs: -L${libdir} -lxfcegui4 @LIBS@ @X_LIBS@ @SM_LIBS@ @BASE_DEPENDENCIES_LIBS@ @XINERAMA_LIBS@
-Cflags: @CFLAGS@ @X_CFLAGS@ @BASE_DEPENDENCIES_CFLAGS@ -I${includedir}/xfce4
+Cflags: @X_CFLAGS@ @BASE_DEPENDENCIES_CFLAGS@ -I${includedir}/xfce4


More information about the Xfce4-dev mailing list