summaryrefslogtreecommitdiff
path: root/www/tidy-devel/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/tidy-devel/files/patch-Makefile')
-rw-r--r--www/tidy-devel/files/patch-Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/www/tidy-devel/files/patch-Makefile b/www/tidy-devel/files/patch-Makefile
new file mode 100644
index 000000000000..daf9dbf84481
--- /dev/null
+++ b/www/tidy-devel/files/patch-Makefile
@@ -0,0 +1,30 @@
+--- Makefile.orig Sat Dec 14 08:57:02 2002
++++ Makefile Sun Dec 29 22:35:20 2002
+@@ -56,12 +56,12 @@
+ SHELL=/bin/sh
+
+ # Installation variables. Spaces OK, only dir create and file copy operations.
+-runinst_prefix=/usr
+-devinst_prefix=/usr
++runinst_prefix=${PREFIX}
++devinst_prefix=${PREFIX}
+
+ bininst = ${runinst_prefix}/bin
+ libinst = ${devinst_prefix}/lib
+-incinst = ${devinst_prefix}/include
++incinst = ${devinst_prefix}/include/tidy
+ maninst = ${devinst_prefix}/man
+
+ # Internal variables. - No spaces allowed: libtool chokes on spaces in directory names.
+@@ -74,8 +74,9 @@
+ BINDIR = ${TOPDIR}/bin
+
+ # CFLAGS etc..
+-CC= gcc
+-CFLAGS= -Wall -Wno-switch -Wno-parentheses -Wno-unused -I $(INCDIR)
++#CC= gcc
++#CFLAGS= -Wall -Wno-switch -Wno-parentheses -Wno-unused -I $(INCDIR)
++CFLAGS+= -I $(INCDIR)
+
+ # OTHERCFLAGS= -DSUPPORT_ACCESSIBILITY_CHECKS=1 -DSUPPORT_UTF16_ENCODINGS=1 -DSUPPORT_ASIAN_ENCODINGS=1
+ ifdef SUPPORT_UTF16_ENCODINGS