openbsd-ports/comms/pilot-link/patches/patch-aa
espie 2d3d0a6a2e - fake, patch from Matt Behrens.
- revert dependency to tcl/tk 8.0, as this port still looks for tcl/tk 8.0.
2000-06-05 01:28:14 +00:00

59 lines
2.1 KiB
Plaintext

--- Makefile.in.orig Fri May 14 02:55:33 1999
+++ Makefile.in Sun Jun 4 11:54:32 2000
@@ -15,11 +15,11 @@
PURIFY =
# Libraries needed to link with Tcl & (optionally) Tk
-TCLTK_LIBS = @TCLTKLIBS@
+TCLTK_LIBS = -L/usr/lib @TCLTKLIBS@
# Include directives needed to compile with Tcl & Tk, and
# -DTCL if Tcl is available, and
# -DTK if Tk is available.
-TCLTK_FLAGS = @TCLTKFLAGS@
+TCLTK_FLAGS = @TCLTKFLAGS@ -I/usr/X11R6/include
# Libraries needed to link with GNU readline
RLLIBS = @RLLIBS@
@@ -109,29 +109,32 @@
$(SUBMAKE_COMM_CC) libpicc.a
installdirs:
- $(SHELL) ${srcdir}/scripts/mkinstalldirs $(bindir) $(includedir) $(libdir) $(pixdir) $(mandir1) $(mandir7)
+ $(SHELL) ${srcdir}/scripts/mkinstalldirs ${DESTDIR}/$(bindir) \
+ ${DESTDIR}/$(includedir) ${DESTDIR}/$(libdir) \
+ ${DESTDIR}/$(pixdir) ${DESTDIR}/$(mandir1) \
+ ${DESTDIR}/$(mandir7)
install: $(EXECS) installdirs $(PILIB) $(PICCLIB)
- $(INSTALL_DATA) $(PILIB) $(libdir)/libpisock.la
+ $(INSTALL_DATA) $(PILIB) ${DESTDIR}/$(libdir)/libpisock.la
if test -n "$(PICCLIB)"; then \
- $(INSTALL_DATA) $(PICCLIB) $(libdir)/libpicc.la; \
+ $(INSTALL_DATA) $(PICCLIB) ${DESTDIR}/$(libdir)/libpicc.la; \
fi
for p in $(EXECS); do \
- $(INSTALL_PROGRAM) $$p $(bindir)/$$p; \
+ $(INSTALL_PROGRAM) $$p ${DESTDIR}/$(bindir)/$$p; \
done
for h in include/*.h $(srcdir)/include/*.h include/*.hxx $(srcdir)/include/*.hxx; do \
- $(INSTALL_DATA) $$h $(includedir)/`basename $$h`; \
+ $(INSTALL_DATA) $$h ${DESTDIR}/$(includedir)/`basename $$h`; \
done
for m in man/*.1; do \
- $(INSTALL_DATA) $$m $(mandir1)/`basename $$m`; \
+ $(INSTALL_DATA) $$m ${DESTDIR}/$(mandir1)/`basename $$m`; \
done
for m in man/*.7; do \
- $(INSTALL_DATA) $$m $(mandir7)/`basename $$m`; \
+ $(INSTALL_DATA) $$m ${DESTDIR}/$(mandir7)/`basename $$m`; \
done
for p in $(srcdir)/pix/*.gif $(srcdir)/pix/*.xbm; do \
- $(INSTALL_DATA) $$p $(pixdir)/`basename $$p`; \
+ $(INSTALL_DATA) $$p ${DESTDIR}/$(pixdir)/`basename $$p`; \
done
- $(LIBTOOL) -n --finish $(libdir)
+ $(LIBTOOL) -n --finish ${DESTDIR}/$(libdir)
uninstall:
-for p in $(EXECS) $(PERLEXECS) $(CXXEXECS) $(TCLEXECS); do \