1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/japanese/dvi2ps/files/patch-aa
Steve Price 7314c051f0 Update to use the new VFlib port.
PR:		7292 (4 of 4)
Submitted by:	maintainer
1998-07-20 03:36:09 +00:00

61 lines
1.9 KiB
Plaintext

*** 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 -lVFlib2 -lttf
! 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)