diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 2002-10-10 17:58:00 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 2002-10-10 17:58:00 +0000 |
| commit | 47ac56be82c72f83caff34ce4ac8f8e71bf8065a (patch) | |
| tree | 9b024a0a3e5f7e9ea25f8a10c704c6fa17bdc4f1 /science/hdf/scripts/post-patch | |
| parent | a7b4667654401c6cff9093ae6ebd74c74d6776ac (diff) | |
Diffstat (limited to 'science/hdf/scripts/post-patch')
| -rw-r--r-- | science/hdf/scripts/post-patch | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/science/hdf/scripts/post-patch b/science/hdf/scripts/post-patch deleted file mode 100644 index abb1fc2ea1fb..000000000000 --- a/science/hdf/scripts/post-patch +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/sh - -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^CFLAGS = -ansi -O"` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,1 +72,1 @@ --CFLAGS = -ansi -O -+#CFLAGS = -ansi -O -END_OF_PATCH -done -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIB_LIB = "` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,1 +72,1 @@ --ZLIB_LIB = \$(TOP_SRCDIR)/hdf/zlib/libz.a -+#ZLIB_LIB = \$(TOP_SRCDIR)/hdf/zlib/libz.a -END_OF_PATCH -done -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEG_LIB = "` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,1 +72,1 @@ --JPEG_LIB = \$(TOP_SRCDIR)/hdf/jpeg/libjpeg.a -+#JPEG_LIB = \$(TOP_SRCDIR)/hdf/jpeg/libjpeg.a -END_OF_PATCH -done -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIBLIB="` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,2 +72,2 @@ --ZLIBINC=\$(srcdir)/../zlib --ZLIBLIB=\$(srcdir)/../zlib -+ZLIBINC=/usr/include -+ZLIBLIB=-lz \$(pwrkdir) -END_OF_PATCH -done - -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIBLIB="` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,2 +72,2 @@ --ZLIBLIB=\$(srcdir)/../zlib --ZLIBINC=\$(srcdir)/../zlib -+ZLIBLIB=-lz -+ZLIBINC=/usr/include -END_OF_PATCH -done - -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEGLIB="` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,2 +72,2 @@ --JPEGINC=\$(srcdir)/../jpeg --JPEGLIB=\$(srcdir)/../jpeg -+JPEGINC=\$(prefix)/include -+JPEGLIB=\$(prefix)/lib -END_OF_PATCH -done - -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEGLIB="` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,2 +72,2 @@ --JPEGLIB=\$(srcdir)/../jpeg --JPEGINC=\$(srcdir)/../jpeg -+JPEGLIB=\$(prefix)/lib -+JPEGINC=\$(prefix)/include -END_OF_PATCH -done |
