summaryrefslogtreecommitdiff
path: root/print/web2c/patches/patch-ab
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2009-02-01 06:05:58 +0000
committerminskim <minskim@pkgsrc.org>2009-02-01 06:05:58 +0000
commite06337047aefffaae66e4588edc17fd9abcf777e (patch)
tree9e06ebf12002a159e264e48996ef3c5c6e55973d /print/web2c/patches/patch-ab
parent142729f946fe72d99c0c9e456026cf7ff77fc993 (diff)
downloadpkgsrc-e06337047aefffaae66e4588edc17fd9abcf777e.tar.gz
Import web2c-7.5.7 as print/web2c.
Web2C is an implementation of TeX and friends which translates the original WEB sources written by Donald Knuth into C, so they can be readily compiled on modern systems.
Diffstat (limited to 'print/web2c/patches/patch-ab')
-rw-r--r--print/web2c/patches/patch-ab28
1 files changed, 28 insertions, 0 deletions
diff --git a/print/web2c/patches/patch-ab b/print/web2c/patches/patch-ab
new file mode 100644
index 00000000000..69b0f297db7
--- /dev/null
+++ b/print/web2c/patches/patch-ab
@@ -0,0 +1,28 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/02/01 06:05:58 minskim Exp $
+
+--- ../make/common.mk.orig 2007-01-20 03:03:18.000000000 -0800
++++ ../make/common.mk
+@@ -17,7 +17,7 @@ LIBTOOL = $(SHELL) $(kpathsea_parent)/li
+ # You can change [X]CPPFLAGS, [X]CFLAGS, or [X]DEFS, but
+ # please don't change ALL_CPPFLAGS or ALL_CFLAGS.
+ # prog_cflags is set by subdirectories of web2c.
+-ALL_CPPFLAGS = $(DEFS) -I. -I$(srcdir) -I$(kpathsea_parent) \
++ALL_CPPFLAGS = $(DEFS) -I. -I$(srcdir) -I$(KPATHSEA_PREFIX)/include \
+ -I$(kpathsea_srcdir_parent) $(prog_cflags) $(CPPFLAGS)
+ ALL_CFLAGS = $(ALL_CPPFLAGS) $(CFLAGS)
+ ALL_CXXFLAGS = $(ALL_CPPFLAGS) $(CXXFLAGS)
+@@ -51,11 +51,11 @@ UNINSTALL_LIBTOOL_LIBS = $(LIBTOOL) --mo
+ UNINSTALL_LIBTOOL_PROG = $(LIBTOOL) --mode=uninstall $(RM)
+
+ # We use these for many things.
+-kpathsea_parent = ..
++kpathsea_parent = $(KPATHSEA_PREFIX)/include
+ kpathsea_dir = $(kpathsea_parent)/kpathsea
+ kpathsea_srcdir_parent = $(top_srcdir)/..
+-kpathsea_srcdir = $(kpathsea_srcdir_parent)/kpathsea
+-kpathsea = $(kpathsea_dir)/libkpathsea.la
++kpathsea_srcdir = $(KPATHSEA_PREFIX)/include/kpathsea
++kpathsea = $(KPATHSEA_PREFIX)/lib/libkpathsea.la
+
+ @MAINT@ifeq ($(CC), gcc)
+ @MAINT@XDEFS = -Wpointer-arith $(warn_more)