1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../unclutter/fix-makefile.patch
5 # Copyright (C) 2008 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- unclutter/Makefile.vanilla 2008-12-19 22:59:30.000000000 +0100
18 +++ unclutter/Makefile 2008-12-19 23:08:24.000000000 +0100
20 IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
21 BINDIR = $(DESTDIR)/usr/bin/X11
22 INCROOT = $(DESTDIR)/usr/include
23 - MANPATH = $(DESTDIR)/usr/catman/x11_man
24 + MANPATH = $(DESTDIR)/usr/X11/man
25 MANSOURCEPATH = $(MANPATH)/man
26 MANDIR = $(MANSOURCEPATH)1
28 - XLIB = $(EXTENSIONLIB) -lX11
29 + XLIB = $(EXTENSIONLIB) $(shell pkg-config x11 --libs)
31 LOCAL_LIBRARIES = $(XLIB)
36 $(INSTALL) -c $(INSTPGMFLAGS) unclutter $(BINDIR)
37 -install.man:: unclutter.man
38 $(INSTALL) -c $(INSTMANFLAGS) unclutter.man $(MANDIR)/unclutter.1