openbsd-ports/print/cups/patches/patch-configure
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

15 lines
594 B
Plaintext

$OpenBSD: patch-configure,v 1.2 2006/02/05 10:20:57 mbalmer Exp $
--- configure.orig Sun Nov 7 15:35:16 2004
+++ configure Sun Nov 7 15:35:34 2004
@@ -7082,8 +7082,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)"
;;