$OpenBSD: patch-Makefile_in,v 1.1.1.1 2003/06/24 23:03:23 espie Exp $
--- Makefile.in.orig	Fri Sep 13 10:29:54 2002
+++ Makefile.in	Tue Jun 24 18:11:19 2003
@@ -164,6 +164,7 @@ install-pkgdataDATA: $(pkgdata_DATA)
 	@$(NORMAL_INSTALL)
 	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
 	@list='$(pkgdata_DATA)'; for p in $$list; do \
+	  p=`basename $$p`; \
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
 	  echo " $(pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
