openbsd-ports/devel/itcl/patches/patch-Makefile_in
sebastia 2240f32ac8 Update to new Tcl layout.
While there, take MAINTAINER, since the old one is not reachable with this address anymore.

OK landry@, stu@
2011-01-05 18:55:31 +00:00

30 lines
1.2 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.3 2011/01/05 18:55:31 sebastia 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; \