openbsd-ports/print/cups/patches/patch-Makedefs_in

54 lines
1.7 KiB
Plaintext

$OpenBSD: patch-Makedefs_in,v 1.5 2010/04/07 13:55:30 ajacoutot Exp $
--- Makedefs.in.orig Wed May 27 01:27:06 2009
+++ Makedefs.in Wed Apr 7 15:28:43 2010
@@ -41,13 +41,13 @@ SHELL = /bin/sh
# Installation programs...
#
-INSTALL_BIN = $(LIBTOOL) $(INSTALL) -c -m 555 @INSTALL_STRIP@
+INSTALL_BIN = $(LIBTOOL) $(INSTALL) -c -m $(BINMODE) @INSTALL_STRIP@
INSTALL_CONFIG = $(INSTALL) -c -m @CUPS_CONFIG_FILE_PERM@
-INSTALL_DATA = $(INSTALL) -c -m 444
+INSTALL_DATA = $(INSTALL) -c -m $(SHAREMODE)
INSTALL_DIR = $(INSTALL) -d
-INSTALL_LIB = $(LIBTOOL) $(INSTALL) -c -m 555 @INSTALL_STRIP@
-INSTALL_MAN = $(INSTALL) -c -m 444
-INSTALL_SCRIPT = $(INSTALL) -c -m 555
+INSTALL_LIB = $(LIBTOOL) $(INSTALL) -c -m $(BINMODE) @INSTALL_STRIP@
+INSTALL_MAN = $(INSTALL) -c -m $(SHAREMODE)
+INSTALL_SCRIPT = $(INSTALL) -c -m $(BINMODE)
#
# Default user, group, and system groups for the scheduler...
@@ -83,15 +83,15 @@ LIBCUPSDRIVER = @LIBCUPSDRIVER@
LIBCUPSIMAGE = @LIBCUPSIMAGE@
LIBCUPSMIME = @LIBCUPSMIME@
LIBCUPSPPDC = @LIBCUPSPPDC@
-LIBJPEG = @LIBJPEG@
-LIBLDAP = @LIBLDAP@
+LIBJPEG = -L${LOCALBASE}/lib @LIBJPEG@
+LIBLDAP = -L${LOCALBASE}/lib @LIBLDAP@
LIBMALLOC = @LIBMALLOC@
-LIBPAPER = @LIBPAPER@
-LIBPNG = @LIBPNG@
+LIBPAPER = -L${LOCALBASE}/lib @LIBPAPER@
+LIBPNG = -L${LOCALBASE}/lib @LIBPNG@
LIBSLP = @LIBSLP@
LIBGSSAPI = @LIBGSSAPI@
-LIBTIFF = @LIBTIFF@
-LIBUSB = @LIBUSB@
+LIBTIFF = -L${LOCALBASE}/lib @LIBTIFF@
+LIBUSB = -L${LOCALBASE}/lib @LIBUSB@
LIBWRAP = @LIBWRAP@
LIBZ = @LIBZ@
@@ -258,7 +258,7 @@ DBUSDIR = @DBUSDIR@
# Rules...
#
-.SILENT:
+#.SILENT:
.SUFFIXES: .1 .1.gz .1m .1m.gz .3 .3.gz .5 .5.gz .7 .7.gz .8 .8.gz .a .c .cxx .h .man .o .32.o .64.o .gz
.c.o: