openbsd-ports/print/cups/patches/patch-config-scripts_cups-sharedlibs_m4
mbalmer 771ece5153 Make SHARED_LIBS actually work, this was lying around for quite some time,
no idea why I did not get committed...

prodded by bernd.
2006-02-05 10:20:57 +00:00

14 lines
572 B
Plaintext

--- config-scripts/cups-sharedlibs.m4.orig Wed Aug 11 16:39:26 2004
+++ config-scripts/cups-sharedlibs.m4 Sun Nov 7 15:21:47 2004
@@ -48,8 +48,8 @@ if test x$enable_shared != xno; then
DSOFLAGS="$DSOFLAGS -Wl,-rpath,\$(libdir),-set_version,sgi2.5,-soname,\$@ -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,\$@ -shared \$(OPTIM)"
;;