summaryrefslogtreecommitdiff
path: root/japanese/dvi2dvi/files/patch-aa
blob: 48337e0d16b7db7d3dda5a0a170fc0c8a027333b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- Makefile.orig	Fri Sep  3 22:01:59 1999
+++ Makefile	Tue Nov 30 04:16:41 1999
@@ -2,10 +2,10 @@
 # your site:
 #
 # where dvi2dvi is installed
-BINAREA=/usr/local/bin
+BINAREA=${PREFIX}/bin
 #
 # directory for dvi2dvi: where the auxiliary files are installed
-DVI2LIB=/usr/local/lib/dvi2dvi
+DVI2LIB=${PREFIX}/lib/dvi2dvi
 #
 # name of default fontdesc file in your site
 FONTDESC=fontdesc
@@ -13,16 +13,16 @@
 DVI2PATH=.:${DVI2LIB}
 
 # kpathsea
-KPSEINCLUDE = -I/usr/local/include -DKPATHSEA
-KPSELIB = -L/usr/local/lib -lkpathsea
+KPSEINCLUDE = -I${kpathsea_parent} -DKPATHSEA
+KPSELIB = -L${kpathsea_parent}/kpathsea/STATIC -lkpathsea
 
 #
 CC=gcc
 #
-CCFLAGS = -g
+#CCFLAGS = -g
 #CCFLAGS = -O		# SUN etc ...
 #CCFLAGS = -O -traditional -DPOSIX	# 386bsd (gcc 1.X)
-#CCFLAGS = -O -DPOSIX	# Netbsd (gcc 2.X), Linux
+CCFLAGS += -O -DPOSIX	# Netbsd (gcc 2.X), Linux
 #CCFLAGS = -O -bsd	# NeXT
 #CCFLAGS = -O -DMSDOS -DPOSIX	# DJGCC (gcc 2.X)
 #CCFLAGS = -O -DSYSV	# SysV