freebsd-ports/databases/dbf2mysql/files/patch-aa
2001-02-07 18:26:11 +00:00

35 lines
881 B
Text

--- Makefile.orig Fri Jul 7 20:19:19 2000
+++ Makefile Wed Feb 7 13:07:42 2001
@@ -2,27 +2,27 @@
# Maarten Boekhold (boekhold@cindy.et.tudelft.nl) 1995
# Set this to your C-compiler
-CC=gcc
+CC?=gcc
# set this to your install-program (what does Solaris have
# in /usr/sbin/install? SYSV install?)
INSTALL=/usr/bin/install
#AR=/usr/bin/ar
-AR=ar
+AR?=ar
# Set this to whatever your compiler accepts. Nothing special is needed
#CFLAGS=-g -Wall -pedantic -include /usr/include/mpatrol.h
#CFLAGS=-g -Wall
-CFLAGS=-O2 -Wall
+CFLAGS?=-O2 -Wall
# Set this to make smaller binaries
#STRIP=
STRIP=-s
# Set this to your MySQL installation-path
-MYSQLINC=-I/usr/include/mysql
-MYSQLLIB=-L/usr/lib/mysql
+MYSQLINC=-I${PREFIX}/include/mysql
+MYSQLLIB=-L${PREFIX}/lib/mysql
# Set this to where you want the binary (no man-page yet, don't know
# how to write them)