openbsd-ports/print/cups/patches/patch-configure
ajacoutot 9ba0e992d7 - don't force optimisation nor debug
- regen patches while here
2007-05-07 13:58:07 +00:00

24 lines
846 B
Plaintext

$OpenBSD: patch-configure,v 1.4 2007/05/07 13:58:07 ajacoutot Exp $
--- configure.orig Thu Nov 16 15:51:56 2006
+++ configure Mon May 7 15:49:38 2007
@@ -7910,8 +7910,8 @@ if test x$enable_shared != xno; then
DSOFLAGS="$DSOFLAGS -set_version,sgi2.6,-soname,\`basename \$@\` -shared \$(OPTIM)"
;;
OSF1* | Linux | GNU | *BSD*)
- LIBCUPS="libcups.so.2"
- LIBCUPSIMAGE="libcupsimage.so.2"
+ LIBCUPS="libcups.so.${LIBcups_VERSION}"
+ LIBCUPSIMAGE="libcupsimage.so.${LIBcupsimage_VERSION}"
DSO="\$(CC)"
DSOFLAGS="$DSOFLAGS -Wl,-soname,\`basename \$@\` -shared \$(OPTIM)"
;;
@@ -8162,7 +8162,7 @@ if test -n "$GCC"; then
if test -z "$OPTIM"; then
if test "x$with_optim" = x; then
# Default to optimize-for-size and debug
- OPTIM="-Os -g"
+ OPTIM=""
else
OPTIM="$with_optim $OPTIM"
fi