mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
098238bae5
- Pass maintainership to submitter - While here, remove dead mirrors and use SF macro PR: 134715 Submitted by: "Dmitry N. Kolesnikov" <dk.diklab@gmail.com>
34 lines
1007 B
Plaintext
34 lines
1007 B
Plaintext
--- cliplibs/clip-odbc/configure.orig Fri Dec 26 21:34:59 2003
|
|
+++ cliplibs/clip-odbc/configure Sat Apr 16 16:43:29 2005
|
|
@@ -19,24 +19,12 @@
|
|
}
|
|
EOF
|
|
|
|
-LIBODBC=''
|
|
-LIBOOB=''
|
|
-
|
|
-gcc -o test_odbc test_odbc.c -liodbc >/dev/null 2>&1 && LIBODBC='-liodbc' && echo 'iODBC driver manager were found'
|
|
-
|
|
-if [ -z "$LIBODBC" ]
|
|
-then
|
|
- gcc -o test_odbc test_odbc.c -lodbc >/dev/null 2>&1 && LIBODBC='-lodbc' && echo 'unixODBC driver manager were found'
|
|
-fi
|
|
-
|
|
-if [ -z "$LIBODBC" ]
|
|
-then
|
|
- echo 'No ODBC driver`s manager were found'
|
|
- exitf 1
|
|
+if [ -n "$WITH_IODBC" ]; then
|
|
+ LIBODBC=-liodbc
|
|
+else
|
|
+ LIBODBC=-lodbc
|
|
fi
|
|
-
|
|
-gcc -o test_odbc test_odbc.c -L/usr/local/easysoft/oob/client -lesoobclient >/dev/null 2>&1 && LIBOOB='-L\/usr\/local\/easysoft\/oob\/client -lesoobclient' && echo 'ODBC-ODBC bridge client were found'
|
|
-
|
|
-sed -e "s/@LIBODBC@/$LIBODBC/g" < Makefile.in | sed -e "s/@LIBOOB@/$LIBOOB/g" - >Makefile
|
|
+
|
|
+sed -e "s/@LIBODBC@/$LIBODBC/g" < Makefile.in | sed -e "s/@LIBOOB@/$LIBOOB/g" >Makefile
|
|
|
|
exitf 0
|