diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2007-10-15 03:16:13 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2007-10-15 03:16:13 +0000 |
commit | 5a9d7587f50691dcccdd28b89df93930fba1a842 (patch) | |
tree | 96bd40c2e0587072e2aa364fe57baff107578e4a /databases/mysql-proxy | |
parent | 01c373bea41e215798f158b17e3faf46d6d0db3a (diff) | |
download | ports-5a9d7587f50691dcccdd28b89df93930fba1a842.tar.gz ports-5a9d7587f50691dcccdd28b89df93930fba1a842.zip |
Notes
Diffstat (limited to 'databases/mysql-proxy')
-rw-r--r-- | databases/mysql-proxy/Makefile | 1 | ||||
-rw-r--r-- | databases/mysql-proxy/files/patch-examples-Makefile.in | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/databases/mysql-proxy/Makefile b/databases/mysql-proxy/Makefile index a5c4cfb4244d..41572eced956 100644 --- a/databases/mysql-proxy/Makefile +++ b/databases/mysql-proxy/Makefile @@ -7,6 +7,7 @@ PORTNAME= mysql-proxy PORTVERSION= 0.6.0 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_MYSQL} MASTER_SITE_SUBDIR= MySQL-Proxy diff --git a/databases/mysql-proxy/files/patch-examples-Makefile.in b/databases/mysql-proxy/files/patch-examples-Makefile.in new file mode 100644 index 000000000000..41791d09666c --- /dev/null +++ b/databases/mysql-proxy/files/patch-examples-Makefile.in @@ -0,0 +1,45 @@ +--- examples/Makefile.in.orig 2007-09-12 00:55:20.000000000 +0800 ++++ examples/Makefile.in 2007-09-22 07:50:30.000000000 +0800 +@@ -157,6 +157,7 @@ + build_os = @build_os@ + build_vendor = @build_vendor@ + datadir = @datadir@ ++examplesdir = @datadir@/examples/mysql-proxy + exec_prefix = @exec_prefix@ + host = @host@ + host_alias = @host_alias@ +@@ -236,20 +237,20 @@ + uninstall-info-am: + install-dist_dataDATA: $(dist_data_DATA) + @$(NORMAL_INSTALL) +- test -z "$(datadir)" || $(mkdir_p) "$(DESTDIR)$(datadir)" ++ test -z "$(examplesdir)" || $(mkdir_p) "$(DESTDIR)$(examplesdir)" + @list='$(dist_data_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ +- echo " $(dist_dataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(datadir)/$$f'"; \ +- $(dist_dataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(datadir)/$$f"; \ ++ echo " $(dist_dataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(examplesdir)/$$f'"; \ ++ $(dist_dataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(examplesdir)/$$f"; \ + done + + uninstall-dist_dataDATA: + @$(NORMAL_UNINSTALL) + @list='$(dist_data_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ +- echo " rm -f '$(DESTDIR)$(datadir)/$$f'"; \ +- rm -f "$(DESTDIR)$(datadir)/$$f"; \ ++ echo " rm -f '$(DESTDIR)$(examplesdir)/$$f'"; \ ++ rm -f "$(DESTDIR)$(examplesdir)/$$f"; \ + done + tags: TAGS + TAGS: +@@ -289,7 +290,7 @@ + check: check-am + all-am: Makefile $(DATA) + installdirs: +- for dir in "$(DESTDIR)$(datadir)"; do \ ++ for dir in "$(DESTDIR)$(examplesdir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done + install: install-am |