updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / ploticus / Makefile.patch
blobc991172c9653e901a65d4a01d9c583bb3927dcb4
1 --- pl241src/src/Makefile.backup 2010-08-25 17:23:27.678303158 -0400
2 +++ pl241src/src/Makefile 2010-08-25 17:23:35.078302786 -0400
3 @@ -25,21 +25,21 @@
6 ############ Option 1: build the pl executable (unix), no X11 ....
7 -NOX11 = -DNOX11
8 +#NOX11 = -DNOX11
12 ############ Option 2: build the pl executable (unix), with X11 enabled ....
13 -# NOX11 =
14 -# XOBJ = x11.o interact.o
15 +NOX11 =
16 +XOBJ = x11.o interact.o
18 ############ ...AND... activate the lines below for your platform... (X11 libs & header files)
19 #### linux
20 # XLIBS = -L/usr/X11R6/lib -lX11
21 # XINCLUDEDIR = -I/usr/X11R6/include
22 #### alt linux
23 -# XLIBS = -lX11
24 -# XINCLUDEDIR = -I/usr/include/X11
25 +XLIBS = -lX11
26 +XINCLUDEDIR = -I/usr/include/X11
27 #### 64bit linux
28 # XLIBS = -L/usr/X11R6/lib64 -lX11
29 #### solaris
30 @@ -89,10 +89,10 @@
33 ########### Option 1: use bundled GD16 (PNG only). Requires libpng and zlib.
34 -exetarget: plpng
35 -GD16LIBS = -lpng -lz
36 -GD16H =
37 -ZFLAG = -DWZ
38 +#exetarget: plpng
39 +#GD16LIBS = -lpng -lz
40 +#GD16H =
41 +#ZFLAG = -DWZ
43 ########### Option 2: use bundled GD13 (pseudoGIF only). No additional lib dependencies.
44 # exetarget: pl
45 @@ -106,11 +106,11 @@
47 ########### Option 4: use your own GD resource with FreeType2 fonts enabled.
48 ########### Requires GD 1.84+, libpng, zlib, libjpeg and libfreetype
49 -# exetarget: plgd18
50 -# GD18LIBS = -lgd -lpng -lz -ljpeg -lfreetype
51 -# GD18H =
52 -# GDFREETYPE = -DGDFREETYPE
53 -# ZFLAG = -DWZ
54 +exetarget: plgd18
55 +GD18LIBS = -lgd -lpng -lz -ljpeg -lfreetype
56 +GD18H =
57 +GDFREETYPE = -DGDFREETYPE
58 +ZFLAG = -DWZ
60 ########### Option 5: don't use GD at all.
61 # exetarget: plnogd
62 @@ -133,7 +133,7 @@
63 #### To set a hard-coded directory for prefabs files, uncomment & edit the following..
64 #### If done, users won't be required to have PLOTICUS_PREFABS environment variable defined.
65 #### This option not available for win32
66 -# PREFABS_DIR = "/usr/lib/ploticus/prefabs"
67 +PREFABS_DIR = "/usr/share/ploticus"
70 #### If you do a "make install", where do you want the executable(s) to be moved to?
71 @@ -141,8 +141,8 @@
74 #### For LOCALE support (non-roman alphabets & collation), uncomment the following..
75 -# LOCALEOBJ = localef.o
76 -# LOCALE_FLAG = -DLOCALE
77 +LOCALEOBJ = localef.o
78 +LOCALE_FLAG = -DLOCALE
80 #### SVG output is always available by default.
81 #### If you want compressed SVG (.svgz), and you selected GD13 or no GD above,