openbsd-ports/lang/classpath/patches/patch-examples_Makefile_in
kurt 269c3debbf - Update to 0.98:
http://www.gnu.org/software/classpath/announce/20090205.html
- now using gcj/gij + eclipse compiler (pure Java) to build

Joint effort with MAINTAINER Frederick C. Druseikis <fredd@cse.sc.edu>
2009-06-16 15:31:02 +00:00

31 lines
1.3 KiB
Plaintext

$OpenBSD: patch-examples_Makefile_in,v 1.2 2009/06/16 15:31:02 kurt Exp $
--- examples/Makefile.in.orig Thu Feb 5 20:01:32 2009
+++ examples/Makefile.in Wed Mar 4 10:31:08 2009
@@ -518,7 +518,7 @@ uninstall-am: uninstall-exampleDATA uninstall-local
install-data-local:
srcdir_cnt=`echo $(srcdir) | wc -c`; \
for file in $(ALL_EXAMPLE_FILES); do \
- f=`echo $$file | cut -c$$srcdir_cnt-`; \
+ f=`echo $$file | cut -c$$((srcdir_cnt))-`; \
fdir=`dirname $$f`; \
if test ! -d $(DESTDIR)$(pkgdatadir)/examples/$$fdir; then \
echo "$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/examples/$$fdir"; \
@@ -535,7 +535,7 @@ install-data-local:
uninstall-local:
srcdir_cnt=`echo $(srcdir) | wc -c`; \
for file in $(ALL_EXAMPLE_FILES); do \
- f=`echo $$file | cut -c$$srcdir_cnt-`; \
+ f=`echo $$file | cut -c$$(srcdir_cnt))-`; \
echo "rm -f $(DESTDIR)$(pkgdatadir)/examples/$$f"; \
rm -f $(DESTDIR)$(pkgdatadir)/examples/$$f; \
done
@@ -546,7 +546,7 @@ uninstall-local:
dist-hook:
srcdir_cnt=`echo $(srcdir) | wc -c`; \
for file in $(ALL_EXAMPLE_FILES); do \
- f=`echo $$file | cut -c$$srcdir_cnt-`; \
+ f=`echo $$file | cut -c$$((srcdir_cnt))-`; \
fdir=`dirname $$f`; \
if test ! -d $(distdir)/$$fdir; then \
echo "$(makeinstalldirs) $(distdir)/$$fdir"; \