openbsd-ports/print/cups/patches/patch-config-scripts_cups-sharedlibs_m4
ajacoutot dd310005da Major update to cups-1.5.0.
Thanks to landry@ for the bulk testing.
2011-09-08 10:33:12 +00:00

23 lines
1.0 KiB
Plaintext

$OpenBSD: patch-config-scripts_cups-sharedlibs_m4,v 1.6 2011/09/08 10:33:12 ajacoutot Exp $
--- config-scripts/cups-sharedlibs.m4.orig Wed Jun 16 02:48:25 2010
+++ config-scripts/cups-sharedlibs.m4 Fri Sep 2 09:35:38 2011
@@ -84,12 +84,12 @@ if test x$enable_shared != xno; then
DSOFLAGS="$DSOFLAGS -set_version,sgi2.6,-soname,\`basename \$@\` -shared \$(OPTIM)"
;;
OSF1* | Linux | GNU | *BSD*)
- LIBCUPS="lib$cupsbase.so.2"
- LIBCUPSCGI="libcupscgi.so.1"
- LIBCUPSDRIVER="libcupsdriver.so.1"
- LIBCUPSIMAGE="libcupsimage.so.2"
- LIBCUPSMIME="libcupsmime.so.1"
- LIBCUPSPPDC="libcupsppdc.so.1"
+ LIBCUPS="lib$cupsbase.so.${LIBcups_VERSION}"
+ LIBCUPSCGI="libcupscgi.so.${LIBcupscgi_VERSION}"
+ LIBCUPSDRIVER="libcupsdriver.so.${LIBcupsdriver_VERSION}"
+ LIBCUPSIMAGE="libcupsimage.so.${LIBcupsimage_VERSION}"
+ LIBCUPSMIME="libcupsmime.so.${LIBcupsmime_VERSION}"
+ LIBCUPSPPDC="libcupsppdc.so.${LIBcupsppdc_VERSION}"
DSO="\$(CC)"
DSOXX="\$(CXX)"
DSOFLAGS="$DSOFLAGS -Wl,-soname,\`basename \$@\` -shared \$(OPTIM)"