openbsd-ports/security/sqlat/patches/patch-Makefile_in
margarida 9f54a54744 Make sqlat compile with the new FreeTDS API.
Patches submitted upstream.
2003-06-03 01:26:50 +00:00

22 lines
707 B
Plaintext

$OpenBSD: patch-Makefile_in,v 1.4 2003/06/03 01:26:50 margarida Exp $
--- Makefile.in.orig Mon Dec 3 18:08:30 2001
+++ Makefile.in Tue Jun 3 02:10:18 2003
@@ -1,4 +1,4 @@
-CC = @CC@ -ggdb -Wall -ansi -pedantic
+CC = @CC@
#CC = gcc -O6 -Wall -DNDEBUG=0
SCANSQL_OBJS = sqllib.o util.o registry.o sqlsamdump.o
@@ -11,9 +11,9 @@ SQLREGGETVAL_OBJS = sqllib.o util.o regi
SQLQUERY_OBJS = sqllib.o util.o registry.o sqlquery.o
SQLUPLOAD_OBJS = sqllib.o util.o registry.o sqlupload.o
-LIBS = @LIBS@
+LIBS = @LIBS@ -ltds -liconv
LDFLAGS = @LDFLAGS@
-CFLAGS = -Iinclude
+CFLAGS += @CFLAGS@ -Iinclude
all: SCANSQL SQLDICT SQLANLZ SQLDUMPLOGINS SQLDIRTREE SQLREGENUM \
SQLREGGETVALUE SQLQUERY SQLUPLOAD