diff options
author | Florian Boor <florian.boor@kernelconcepts.de> | 2007-04-16 08:00:42 +0000 |
---|---|---|
committer | Florian Boor <florian.boor@kernelconcepts.de> | 2007-04-16 08:00:42 +0000 |
commit | 66032f4eef5ba64aeb6491ad91feea445e40f0d7 (patch) | |
tree | 1a8afb6e68766a33c1ed3b99c139354337c32db1 /packages/miniclipboard/miniclipboard-0.3 | |
parent | 3524b34212fdab21c6882324b85efcc65dd6238c (diff) |
miniclipboard: Fix Makefile issues.
Diffstat (limited to 'packages/miniclipboard/miniclipboard-0.3')
-rw-r--r-- | packages/miniclipboard/miniclipboard-0.3/makefile.patch | 26 |
1 files changed, 26 insertions, 0 deletions
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)) + |