From 66032f4eef5ba64aeb6491ad91feea445e40f0d7 Mon Sep 17 00:00:00 2001 From: Florian Boor Date: Mon, 16 Apr 2007 08:00:42 +0000 Subject: miniclipboard: Fix Makefile issues. --- .../miniclipboard/miniclipboard-0.3/makefile.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 packages/miniclipboard/miniclipboard-0.3/makefile.patch (limited to 'packages/miniclipboard/miniclipboard-0.3/makefile.patch') diff --git a/packages/miniclipboard/miniclipboard-0.3/makefile.patch b/packages/miniclipboard/miniclipboard-0.3/makefile.patch new file mode 100644 index 0000000000..790b82f305 --- /dev/null +++ b/packages/miniclipboard/miniclipboard-0.3/makefile.patch @@ -0,0 +1,26 @@ +Index: Makefile +=================================================================== +--- Makefile (Revision 9102) ++++ Makefile (Arbeitskopie) +@@ -6,16 +6,16 @@ + + MEMBERS = miniclipboard mbpixbuf mbtray + +-CFLAGS += -Wall ++PACKAGE_CFLAGS += -Wall `pkg-config --cflags x11` + ifeq ($(DEBUG),yes) +-CFLAGS += -O2 -g +-LDFLAGS = -g #-lefence ++PACKAGE_CFLAGS += -O2 -g ++LDFLAGS = -g + else +-CFLAGS += -Os -fomit-frame-pointer ++PACKAGE_CFLAGS += -Os -fomit-frame-pointer + endif + CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" + +-PACKAGE_LDFLAGS += $(STANDARD_LDFLAGS) -L/usr/X11R6/lib -lX11 -lXpm -lXext ++PACKAGE_LDFLAGS += $(STANDARD_LDFLAGS) $(`pkg-config --libs x11`) -lXpm -lXext + + OBJS = $(patsubst %,%.o,$(MEMBERS)) + -- cgit v1.2.3