Annotation of pkgsrc/databases/gnats/patches/patch-aa, Revision 1.5
1.5 ! spz 1: $NetBSD: patch-aa,v 1.4 2005/08/28 12:36:42 recht Exp $
1.1 martti 2:
1.5 ! spz 3: pkgsrcification
! 4:
! 5: --- gnats/Makefile.in.orig 2015-02-27 02:10:23.000000000 +0000
! 6: +++ gnats/Makefile.in
! 7: @@ -574,11 +574,10 @@ CLEANFILES = $(bin_SCRIPTS) $(pkglibexec
! 8:
! 9:
! 10: # Data files
! 11: -dist_pkgdata_DATA = addresses categories classes gnatsd.host_access \
! 12: - gnatsd.user_access responsible states submitters \
! 13: - databases send-pr.conf
! 14: +dist_pkgdata_DATA = addresses categories classes dbconfig \
! 15: + responsible states submitters
! 16:
! 17: -pkgdata_DATA = dbconfig
! 18: +pkgdata_DATA = databases gnatsd.host_access gnatsd.user_access send-pr.conf
! 19: all: $(BUILT_SOURCES) autoconf.h
! 20: $(MAKE) $(AM_MAKEFLAGS) all-recursive
! 21:
! 22: @@ -881,18 +880,18 @@ distclean-compile:
! 23: $(AM_V_YACC)$(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h `echo $@ | $(am__yacc_c2h)` y.output $*.output -- $(YACCCOMPILE)
! 24: install-dist_lispDATA: $(dist_lisp_DATA)
! 25: @$(NORMAL_INSTALL)
! 26: - @list='$(dist_lisp_DATA)'; test -n "$(lispdir)" || list=; \
! 27: + @list='$(dist_lisp_DATA)'; test -n "%%GNATS_DEFAULTS%%" || list=; \
! 28: if test -n "$$list"; then \
! 29: - echo " $(MKDIR_P) '$(DESTDIR)$(lispdir)'"; \
! 30: - $(MKDIR_P) "$(DESTDIR)$(lispdir)" || exit 1; \
! 31: + echo " $(MKDIR_P) '%%GNATS_DEFAULTS%%'"; \
! 32: + $(MKDIR_P) "%%GNATS_DEFAULTS%%" || exit 1; \
! 33: fi; \
! 34: for p in $$list; do \
! 35: if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
! 36: echo "$$d$$p"; \
! 37: done | $(am__base_list) | \
! 38: while read files; do \
! 39: - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(lispdir)'"; \
! 40: - $(INSTALL_DATA) $$files "$(DESTDIR)$(lispdir)" || exit $$?; \
! 41: + echo " $(INSTALL_DATA) $$files '%%GNATS_DEFAULTS%%/..'"; \
! 42: + $(INSTALL_DATA) $$files "%%GNATS_DEFAULTS%%/.." || exit $$?; \
! 43: done
! 44:
! 45: uninstall-dist_lispDATA:
! 46: @@ -902,18 +901,18 @@ uninstall-dist_lispDATA:
! 47: dir='$(DESTDIR)$(lispdir)'; $(am__uninstall_files_from_dir)
! 48: install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
! 49: @$(NORMAL_INSTALL)
! 50: - @list='$(dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
! 51: + @list='$(dist_pkgdata_DATA)'; test -n "%%GNATS_DEFAULTS%%" || list=; \
! 52: if test -n "$$list"; then \
! 53: - echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \
! 54: - $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \
! 55: + echo " $(MKDIR_P) '%%GNATS_DEFAULTS%%'"; \
! 56: + $(MKDIR_P) "%%GNATS_DEFAULTS%%" || exit 1; \
! 57: fi; \
! 58: for p in $$list; do \
! 59: if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
! 60: echo "$$d$$p"; \
! 61: done | $(am__base_list) | \
! 62: while read files; do \
! 63: - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \
! 64: - $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \
! 65: + echo " $(INSTALL_DATA) $$files '%%GNATS_DEFAULTS%%'"; \
! 66: + $(INSTALL_DATA) $$files "%%GNATS_DEFAULTS%%" || exit $$?; \
! 67: done
! 68:
! 69: uninstall-dist_pkgdataDATA:
! 70: @@ -925,16 +924,16 @@ install-pkgdataDATA: $(pkgdata_DATA)
! 71: @$(NORMAL_INSTALL)
! 72: @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
! 73: if test -n "$$list"; then \
! 74: - echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \
! 75: - $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \
! 76: + echo " $(MKDIR_P) '%%EGDIR%%"; \
! 77: + $(MKDIR_P) "%%EGDIR%%" || exit 1; \
! 78: fi; \
! 79: for p in $$list; do \
! 80: if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
! 81: echo "$$d$$p"; \
! 82: done | $(am__base_list) | \
! 83: while read files; do \
! 84: - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \
! 85: - $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \
! 86: + echo " $(INSTALL_DATA) $$files '%%EGDIR%%"; \
! 87: + $(INSTALL_DATA) $$files "%%EGDIR%%" || exit $$?; \
1.3 recht 88: done
89:
1.5 ! spz 90: uninstall-pkgdataDATA:
! 91: @@ -1304,18 +1303,9 @@ mail-query: mail-query.sh Makefile
! 92: send-pr: send-pr.sh Makefile
! 93: $(do_subst) < $(srcdir)/send-pr.sh > send-pr
! 94:
! 95: -# We need to link in defaults database config files for for mkdb
! 96: +# this gets done by the pkgsrc framework
! 97: install-data-hook:
! 98: - -mkdir -p $(DESTDIR)/$(sysconfdir)/$(PACKAGE)/defaults && \
! 99: - for i in $(dist_pkgdata_DATA) $(pkgdata_DATA) ; do \
! 100: - ln -s $(pkgdatadir)/$$i \
! 101: - $(DESTDIR)/$(sysconfdir)/$(PACKAGE)/defaults || true; \
! 102: - done
! 103: - for i in databases gnatsd.user_access gnatsd.host_access send-pr.conf ; do \
! 104: - if [ ! -e $(DESTDIR)/$(sysconfdir)/$(PACKAGE)/$$i ] ; then \
! 105: - ${INSTALL_DATA} $(DESTDIR)$(pkgdatadir)/$$i $(DESTDIR)/$(sysconfdir)/$(PACKAGE); \
! 106: - fi; \
! 107: - done
! 108: + :
1.4 recht 109:
1.5 ! spz 110: # Tell versions [3.59,3.63) of GNU make to not export all variables.
! 111: # Otherwise a system limit (for SysV at least) may be exceeded.
CVSweb <webmaster@jp.NetBSD.org>