openbsd-ports/net/ethereal/patches/patch-Makefile_in
2003-01-24 08:46:02 +00:00

29 lines
1.1 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.2 2003/01/24 08:46:03 jakob Exp $
--- Makefile.in.orig Sat Dec 7 22:38:28 2002
+++ Makefile.in Sat Jan 11 19:09:26 2003
@@ -224,7 +224,7 @@ sysconf_DATA = manuf
# Install the Diameter DTD and XML files in the "diameter" subdirectory
# of that directory.
#
-diameterdir = $(sysconfdir)/diameter
+diameterdir = $(datadir)/ethereal/diameter
diameter_DATA = dictionary.dtd dictionary.xml mobileipv4.xml \
nasreq.xml sunping.xml
@@ -2348,12 +2348,12 @@ uninstall-diameterDATA:
sysconfDATA_INSTALL = $(INSTALL_DATA)
install-sysconfDATA: $(sysconf_DATA)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
+ $(mkinstalldirs) $(DESTDIR)$(datadir)/ethereal
@list='$(sysconf_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f="`echo $$p | sed -e 's|^.*/||'`"; \
- echo " $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f"; \
- $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f; \
+ echo " $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(datadir)/ethereal/$$f"; \
+ $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(datadir)/ethereal/$$f; \
done
uninstall-sysconfDATA: