pkgsrc/print/cups/patches/patch-ac

73 lines
1.8 KiB
Text

$NetBSD: patch-ac,v 1.1.1.1 1999/11/29 02:18:54 jlam Exp $
--- backend/Makefile.orig Tue Oct 12 14:19:29 1999
+++ backend/Makefile Sun Nov 28 21:06:28 1999
@@ -45,10 +45,10 @@
#
install:
- -$(MKDIR) $(SERVERROOT)/backend
- $(CP) $(TARGETS) $(SERVERROOT)/backend
- -$(LN) ipp $(SERVERROOT)/backend/http
- $(CHMOD) u+s $(SERVERROOT)/backend/lpd
+ -$(BSD_INSTALL_PROGRAM_DIR) $(EXECDIR)/backend
+ $(LIBTOOL) $(BSD_INSTALL_PROGRAM) $(TARGETS) $(EXECDIR)/backend
+ -$(LN) ipp $(EXECDIR)/backend/http
+ $(CHMOD) u+s $(EXECDIR)/backend/lpd
#
# betest
@@ -56,7 +56,7 @@
betest: betest.o ../cups/$(LIBCUPS)
echo Linking $@...
- $(CC) $(LDFLAGS) -o betest betest.o $(LIBS)
+ $(LIBTOOL) $(CC) $(LDFLAGS) -o betest betest.o $(LIBS)
betest.o: ../cups/string.h ../Makedefs
@@ -66,7 +66,7 @@
ipp: ipp.o ../cups/$(LIBCUPS)
echo Linking $@...
- $(CC) $(LDFLAGS) -o ipp ipp.o $(LIBS)
+ $(LIBTOOL) $(CC) $(LDFLAGS) -o ipp ipp.o $(LIBS)
-$(LN) ipp http
ipp.o: ../cups/cups.h ../Makedefs
@@ -77,7 +77,7 @@
lpd: lpd.o ../cups/$(LIBCUPS)
echo Linking $@...
- $(CC) $(LDFLAGS) -o lpd lpd.o $(LIBS)
+ $(LIBTOOL) $(CC) $(LDFLAGS) -o lpd lpd.o $(LIBS)
lpd.o: ../cups/cups.h ../Makedefs
@@ -87,7 +87,7 @@
parallel: parallel.o ../cups/$(LIBCUPS)
echo Linking $@...
- $(CC) $(LDFLAGS) -o parallel parallel.o $(LIBS)
+ $(LIBTOOL) $(CC) $(LDFLAGS) -o parallel parallel.o $(LIBS)
parallel.o: ../cups/cups.h ../Makedefs
@@ -97,7 +97,7 @@
serial: serial.o ../cups/$(LIBCUPS)
echo Linking $@...
- $(CC) $(LDFLAGS) -o serial serial.o $(LIBS)
+ $(LIBTOOL) $(CC) $(LDFLAGS) -o serial serial.o $(LIBS)
serial.o: ../cups/cups.h ../Makedefs
@@ -107,7 +107,7 @@
socket: socket.o ../cups/$(LIBCUPS)
echo Linking $@...
- $(CC) $(LDFLAGS) -o socket socket.o $(LIBS)
+ $(LIBTOOL) $(CC) $(LDFLAGS) -o socket socket.o $(LIBS)
socket.o: ../cups/cups.h ../Makedefs