summaryrefslogtreecommitdiff
path: root/japanese/dvi2ps/files/patch-aa
blob: 6594d301b496284057c096025687bcf58e98bf47 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
*** Makefile.orig	Thu Dec 26 19:37:51 1996
--- Makefile	Thu Dec 26 19:39:54 1996
***************
*** 2,8 ****
  # your site:
  #
  # BINAREA and DVI2LIB are relative to PREFIX
! PREFIX=/usr/local
  # where dvi2ps is installed
  BINAREA=${PREFIX}/bin
  #
--- 2,8 ----
  # your site:
  #
  # BINAREA and DVI2LIB are relative to PREFIX
! PREFIX?=/usr/local
  # where dvi2ps is installed
  BINAREA=${PREFIX}/bin
  #
***************
*** 42,60 ****
  # 1) libVFlib.a and VF.h are installed in the standard directory
  #VFLIB = -lVFlib
  # 2) libVFlib.a and VF.h are installed in the non-standard directory
! #VFLIB = -L${PREFIX}/lib -lVFlib
! #VFLIBINC = -I${PREFIX}/include
  # 3) use VFlib.a and VF.h in the source directory of VFlib
! VFLIBSRCDIR = ../VFlib-2.22/src
! VFLIB = ${VFLIBSRCDIR}/VFlib.a
! VFLIBINC = -I${VFLIBSRCDIR}
  
  #
  CC=cc
  #
! CCFLAGS = -g
  #CCFLAGS = -O		# SUNOS 4.X etc ...
! #CCFLAGS = -O -DPOSIX	# NetBSD FreeBSD (gcc 2.X), Linux
  #CCFLAGS = -O -DMSDOS -DPOSIX	# DJGCC (gcc 2.X)
  #CCFLAGS = -O -DANSI -DPOSIX -DSYSV -DSYSVIO	# Solaris 2.X (SUNWpro/bin/cc)
  #CCFLAGS = -O -DSYSVIO		# Solaris 2.X (/usr/ucb/cc -- not recommended)
--- 42,60 ----
  # 1) libVFlib.a and VF.h are installed in the standard directory
  #VFLIB = -lVFlib
  # 2) libVFlib.a and VF.h are installed in the non-standard directory
! VFLIB = -L${PREFIX}/lib -lVFlib
! VFLIBINC = -I${PREFIX}/include
  # 3) use VFlib.a and VF.h in the source directory of VFlib
! #VFLIBSRCDIR = ../VFlib-2.22/src
! #VFLIB = ${VFLIBSRCDIR}/VFlib.a
! #VFLIBINC = -I${VFLIBSRCDIR}
  
  #
  CC=cc
  #
! #CCFLAGS = -g
  #CCFLAGS = -O		# SUNOS 4.X etc ...
! CCFLAGS = -O -DPOSIX -m486	# NetBSD FreeBSD (gcc 2.X), Linux
  #CCFLAGS = -O -DMSDOS -DPOSIX	# DJGCC (gcc 2.X)
  #CCFLAGS = -O -DANSI -DPOSIX -DSYSV -DSYSVIO	# Solaris 2.X (SUNWpro/bin/cc)
  #CCFLAGS = -O -DSYSVIO		# Solaris 2.X (/usr/ucb/cc -- not recommended)