aboutsummaryrefslogtreecommitdiffstats
path: root/french/med/files
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2004-04-29 04:30:20 +0800
committerthierry <thierry@FreeBSD.org>2004-04-29 04:30:20 +0800
commitf3fbd7f18ef98348417a44f2689f07fab610c263 (patch)
treef093643f98e5b9ffc76a9c9277c06b3d168aab47 /french/med/files
parent1f5c0d2e7cff8767fe27c0e88c0b0c5cdaaf182c (diff)
downloadfreebsd-ports-gnome-f3fbd7f18ef98348417a44f2689f07fab610c263.tar.gz
freebsd-ports-gnome-f3fbd7f18ef98348417a44f2689f07fab610c263.tar.zst
freebsd-ports-gnome-f3fbd7f18ef98348417a44f2689f07fab610c263.zip
Fix pkg-plist and install examples.
Noticed on dosirak & bento. Approved by: mat (mentor).
Diffstat (limited to 'french/med/files')
-rw-r--r--french/med/files/patch-Makefile.in19
-rw-r--r--french/med/files/patch-config::commence.in11
-rw-r--r--french/med/files/patch-config::conclude.in19
-rw-r--r--french/med/files/patch-tests::Makefile.in42
4 files changed, 73 insertions, 18 deletions
diff --git a/french/med/files/patch-Makefile.in b/french/med/files/patch-Makefile.in
index 440a5b8dcfb4..e7dafe6eadae 100644
--- a/french/med/files/patch-Makefile.in
+++ b/french/med/files/patch-Makefile.in
@@ -1,21 +1,6 @@
--- Makefile.in.orig Wed Nov 20 17:21:36 2002
-+++ Makefile.in Fri Jun 27 23:01:55 2003
-@@ -8,7 +8,7 @@
-
- @COMMENCE@
-
--SUBDIRS=src tests tools doc
-+SUBDIRS=src tools doc
-
- lib:
- @@SETX@; for d in $(SUBDIRS); do \
-@@ -30,12 +30,12 @@
- (cd $$d && $(MAKE) $@) || exit 1; \
- done
-
--install: lib bin tests
-+install: lib bin
- @@SETX@; for d in $(SUBDIRS); do \
++++ Makefile.in Sat Apr 24 21:06:50 2004
+@@ -35,7 +35,7 @@
(cd $$d && $(MAKE) $@) || exit 1; \
done
@$(LT) --mode=finish $(libdir);
diff --git a/french/med/files/patch-config::commence.in b/french/med/files/patch-config::commence.in
index 863a815218ee..a379fe449ae8 100644
--- a/french/med/files/patch-config::commence.in
+++ b/french/med/files/patch-config::commence.in
@@ -1,5 +1,5 @@
--- config/commence.in.orig Wed Sep 18 18:09:44 2002
-+++ config/commence.in Wed Jul 23 11:49:48 2003
++++ config/commence.in Sat Apr 24 21:17:41 2004
@@ -28,7 +28,7 @@
CFLAGS=@CFLAGS@
CPPFLAGS= -I$(top_srcdir)/include -I$(HDF5INC) -D$(MACHINE) @CPPFLAGS@
@@ -17,3 +17,12 @@
INSTALL_DATA=@INSTALL_DATA@
RUNSERIAL=@RUNSERIAL@
RUNPARALLEL=@RUNPARALLEL@
+@@ -49,7 +50,7 @@
+ libdir=@libdir@
+ includedir=@includedir@
+ docdir=@exec_prefix@/doc
+-testdir=@exec_prefix@/tests
++testdir=@exec_prefix@/share/examples/med/tests
+ PUB_LIB=$(LIB)
+
+ # Shared libraries
diff --git a/french/med/files/patch-config::conclude.in b/french/med/files/patch-config::conclude.in
new file mode 100644
index 000000000000..42a6948479b2
--- /dev/null
+++ b/french/med/files/patch-config::conclude.in
@@ -0,0 +1,19 @@
+--- ./config/conclude.in.orig Wed Sep 18 18:09:44 2002
++++ ./config/conclude.in Sat Apr 24 22:04:34 2004
+@@ -88,11 +88,11 @@
+ fi; \
+ done
+ # Install tests programmes in bindir
+- @for f in X $(TEST_PROGS); do \
+- if test $$f != X; then \
+- ($(LT_INSTALL_PROG) $$f $(bindir)/. || exit 1); \
+- fi; \
+- done
++# @for f in X $(TEST_PROGS); do \
++# if test $$f != X; then \
++# ($(LT_INSTALL_PROG) $$f $(bindir)/. || exit 1); \
++# fi; \
++# done
+ # Install sources tests programmes in testdir
+ for f in X $(TEST_SRC); do \
+ echo $$f;\
diff --git a/french/med/files/patch-tests::Makefile.in b/french/med/files/patch-tests::Makefile.in
new file mode 100644
index 000000000000..01f27085ce4e
--- /dev/null
+++ b/french/med/files/patch-tests::Makefile.in
@@ -0,0 +1,42 @@
+--- tests/Makefile.in.orig Wed Sep 18 18:09:58 2002
++++ tests/Makefile.in Sat Apr 24 22:44:52 2004
+@@ -3,7 +3,10 @@
+ top_srcdir=@top_srcdir@
+ top_builddir=..
+ srcdir=@srcdir@
++pthread_cflags=@PTHREAD_CFLAGS@
++pthread_libs=@PTHREAD_LIBS@
+ VPATH=@srcdir@/c:@srcdir@/f
++
+ @COMMENCE@
+
+ SRC_C= \
+@@ -38,22 +41,22 @@
+ endif
+
+ %_c.out: %_c.o
+- $(CC) -o $@ $< $(LDFLAGS) -L$(top_builddir)/src/.libs -lmed -lhdf5
++ $(CC) -o $@ $< $(LDFLAGS) $(pthread_libs) -L$(top_builddir)/src/.libs -lmed -lhdf5
+
+ %_c.o: %.c
+- $(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS) $(CFLAGS)
++ $(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS) $(CFLAGS) $(pthread_cflags)
+
+ %_f.out: %_f.o
+- $(FC) -o $@ $< $(LDFLAGS) -L$(top_builddir)/src/.libs -lmed -lhdf5
++ $(FC) -o $@ $< $(LDFLAGS) $(pthread_libs) -L$(top_builddir)/src/.libs -lmed -lhdf5
+
+ %_f.o: %.f
+- $(FC) -c -o $@ $< $(FFLAGS)
++ $(FC) -c -o $@ $< $(FFLAGS) $(pthread_cflags)
+
+ %_f90.out: %_f90.o
+- $(F90) $(FFLAGS) -o $@ $< $(LDFLAGS) -L$(top_builddir)/src/.libs -lmed -lhdf5
++ $(F90) $(FFLAGS) -o $@ $< $(LDFLAGS) $(pthread_libs) -L$(top_builddir)/src/.libs -lmed -lhdf5
+
+ %_f90.o: %.f90
+- $(F90) -c -o $@ $< $(FFLAGS)
++ $(F90) -c -o $@ $< $(FFLAGS) $(pthread_cflags)
+
+ @CONCLUDE@
+