openbsd-ports/devel/itcl/patches/patch-Makefile_in
sthen e50e4a74d1 update to 3.4b1, allowing this to work with Tcl 8.5.
From Sebastian Reitenbach with some changes by me & tested by Sebastian.
earlier version ok jasper@

(not moving to itcl 4.0 yet; other parts are needed first).
2010-06-07 14:39:46 +00:00

30 lines
1.2 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.2 2010/06/07 14:39:46 sthen Exp $
--- Makefile.in.orig Mon Dec 15 21:02:58 2008
+++ Makefile.in Sun Jun 6 12:36:40 2010
@@ -77,7 +77,7 @@ DESTDIR =
PKG_DIR = $(PACKAGE_NAME)$(PACKAGE_VERSION)
pkgdatadir = $(datadir)/$(PKG_DIR)
-pkglibdir = $(libdir)/$(PKG_DIR)
+pkglibdir = $(libdir)
pkgincludedir = $(includedir)/$(PKG_DIR)
top_builddir = .
@@ -342,12 +342,12 @@ install-lib-binaries:
@mkdir -p $(DESTDIR)$(pkglibdir)
@list='$(lib_BINARIES)'; for p in $$list; do \
if test -f $$p; then \
- echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkglibdir)/$$p"; \
- $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkglibdir)/$$p; \
+ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkglibdir)/../$$p"; \
+ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkglibdir)/../$$p; \
stub=`echo $$p|sed -e "s/.*\(stub\).*/\1/"`; \
if test "x$$stub" = "xstub"; then \
- echo " $(RANLIB_STUB) $(DESTDIR)$(pkglibdir)/$$p"; \
- $(RANLIB_STUB) $(DESTDIR)$(pkglibdir)/$$p; \
+ echo " $(RANLIB_STUB) $(DESTDIR)$(pkglibdir)/../$$p"; \
+ $(RANLIB_STUB) $(DESTDIR)$(pkglibdir)/../$$p; \
else \
echo " $(RANLIB) $(DESTDIR)$(pkglibdir)/$$p"; \
$(RANLIB) $(DESTDIR)$(pkglibdir)/$$p; \