diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-01-27 02:37:34 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-01-27 02:37:34 +0800 |
commit | c32defece842528517cb53845588a11e5c0b4ff5 (patch) | |
tree | 541ef887a7285924d2f161ad264b432767317741 | |
parent | 461d7387ea5271036bafda9ef863a4b8a02ad58e (diff) | |
download | marcuscom-ports-c32defece842528517cb53845588a11e5c0b4ff5.tar marcuscom-ports-c32defece842528517cb53845588a11e5c0b4ff5.tar.gz marcuscom-ports-c32defece842528517cb53845588a11e5c0b4ff5.tar.bz2 marcuscom-ports-c32defece842528517cb53845588a11e5c0b4ff5.tar.lz marcuscom-ports-c32defece842528517cb53845588a11e5c0b4ff5.tar.xz marcuscom-ports-c32defece842528517cb53845588a11e5c0b4ff5.tar.zst marcuscom-ports-c32defece842528517cb53845588a11e5c0b4ff5.zip |
Try a different way to fix the build problems.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3535 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | x11-toolkits/libbonoboui/Makefile | 4 | ||||
-rw-r--r-- | x11-toolkits/libbonoboui/files/patch-bonobo_bonobo-canvas-item.c | 11 | ||||
-rw-r--r-- | x11-toolkits/libbonoboui/files/patch-bonobo_bonobo-ui-toolbar.c | 11 |
3 files changed, 4 insertions, 22 deletions
diff --git a/x11-toolkits/libbonoboui/Makefile b/x11-toolkits/libbonoboui/Makefile index 49f625d84..dbb2294f3 100644 --- a/x11-toolkits/libbonoboui/Makefile +++ b/x11-toolkits/libbonoboui/Makefile @@ -26,4 +26,8 @@ INSTALLS_SHLIB= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" +post-patch: + @${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|libgnome\/gnome-i18n.h|glib/gi18n.h|g' + .include <bsd.port.mk> diff --git a/x11-toolkits/libbonoboui/files/patch-bonobo_bonobo-canvas-item.c b/x11-toolkits/libbonoboui/files/patch-bonobo_bonobo-canvas-item.c deleted file mode 100644 index 3b6f54e6b..000000000 --- a/x11-toolkits/libbonoboui/files/patch-bonobo_bonobo-canvas-item.c +++ /dev/null @@ -1,11 +0,0 @@ ---- bonobo/bonobo-canvas-item.c.orig Wed Jan 26 13:21:00 2005 -+++ bonobo/bonobo-canvas-item.c Wed Jan 26 13:22:20 2005 -@@ -20,7 +20,7 @@ - #include <bonobo/bonobo-object.h> - #include <bonobo/bonobo-types.h> - #include <bonobo/bonobo-main.h> --#include <libgnome/gnome-i18n.h> -+#include <glib/gi18n.h> - #include <libgnome/gnome-macros.h> - #include <gdk/gdkprivate.h> - #include <gdk/gdkx.h> diff --git a/x11-toolkits/libbonoboui/files/patch-bonobo_bonobo-ui-toolbar.c b/x11-toolkits/libbonoboui/files/patch-bonobo_bonobo-ui-toolbar.c deleted file mode 100644 index 7ba5fdd51..000000000 --- a/x11-toolkits/libbonoboui/files/patch-bonobo_bonobo-ui-toolbar.c +++ /dev/null @@ -1,11 +0,0 @@ ---- bonobo/bonobo-ui-toolbar.c.orig Wed Jan 26 13:22:46 2005 -+++ bonobo/bonobo-ui-toolbar.c Wed Jan 26 13:23:04 2005 -@@ -9,7 +9,7 @@ - */ - - #include <config.h> --#include <libgnome/gnome-i18n.h> -+#include <glib/gi18n.h> - #include <libgnome/gnome-macros.h> - #include <bonobo/bonobo-ui-private.h> - #include <bonobo/bonobo-ui-toolbar.h> |