Dash:
[t2.git] / package / x11 / unclutter / fix-makefile.patch
blob463dddf8346e91093bd923764ec2961595f8fd2f
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../unclutter/fix-makefile.patch
5 # Copyright (C) 2008 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
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
14 # version.
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
19 @@ -23,11 +23,11 @@
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
27 IMAKE = imake
28 - XLIB = $(EXTENSIONLIB) -lX11
29 + XLIB = $(EXTENSIONLIB) $(shell pkg-config x11 --libs)
31 LOCAL_LIBRARIES = $(XLIB)
33 @@ -44,7 +44,6 @@
35 install:: unclutter
36 $(INSTALL) -c $(INSTPGMFLAGS) unclutter $(BINDIR)
37 -install.man:: unclutter.man
38 $(INSTALL) -c $(INSTMANFLAGS) unclutter.man $(MANDIR)/unclutter.1
39 clean::
40 $(RM) $(PROGRAM)