summaryrefslogtreecommitdiff
path: root/parallel/mpi-ch/patches/patch-ab
blob: 176efb60ac7a75ea9c8e7db13647563ea4181bee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.4 2008/05/29 20:25:54 tnn Exp $

Fix installation of script.

--- src/pkgconfig/Makefile.in.orig	2008-02-15 21:35:01.000000000 +0300
+++ src/pkgconfig/Makefile.in	2008-03-19 22:23:34.000000000 +0300
@@ -74,7 +74,7 @@
 # Install target
 install:  FORCE_TARGET 
 	if [ ! -d ${DESTDIR}${pkgconfigdir} ] ; then $(MKDIR_P) ${DESTDIR}${pkgconfigdir} ; fi
-	if [ -s mpich2-@DEVICE_NAME@.pc ] ; then $(INSTALL_PROGRAM) mpich2-@DEVICE_NAME@.pc ${DESTDIR}${pkgconfigdir}/mpich2-@DEVICE_NAME@.pc ; fi
+	if [ -s mpich2-@DEVICE_NAME@.pc ] ; then $(INSTALL_DATA) mpich2-@DEVICE_NAME@.pc ${DESTDIR}${pkgconfigdir}/mpich2-@DEVICE_NAME@.pc ; fi
 
 install-strip:
 	$(MAKE) INSTALL_STRIP_FLAG=-s install