mirror of
https://git.freebsd.org/ports.git
synced 2025-06-24 22:20:35 -04:00
- Remove some patches that are now applied on the source code [1] - Use OPTIONS for some dependencies now - Makefile and build script changes causing build to fail-fast rather than continue when errors occur; also explicitly build options rather than allowing build failures - Misc other simple build fixes Removed file(s) [1]: - files/patch-clip::clip_makeslib.in - files/patch-cliplibs::clip-gd::gd::gdft.c - files/patch-cliplibs::clip-gtkextra::configure - files/patch-gd::configure PR: ports/78536 [1] Submitted by: Renato Botelho <renato@galle.com.br> Approved by: clement (mentor)
33 lines
1,007 B
Text
33 lines
1,007 B
Text
--- 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
|