[98571] trunk/dports/science/cfitsio

ryandesign at macports.org ryandesign at macports.org
Mon Oct 8 16:49:07 PDT 2012


Revision: 98571
          http://trac.macports.org//changeset/98571
Author:   ryandesign at macports.org
Date:     2012-10-08 16:49:07 -0700 (Mon, 08 Oct 2012)
Log Message:
-----------
cfitsio: install libraries as root not macports user (#36533)

Modified Paths:
--------------
    trunk/dports/science/cfitsio/Portfile

Added Paths:
-----------
    trunk/dports/science/cfitsio/files/patch-Makefile.in.diff

Modified: trunk/dports/science/cfitsio/Portfile
===================================================================
--- trunk/dports/science/cfitsio/Portfile	2012-10-08 23:28:15 UTC (rev 98570)
+++ trunk/dports/science/cfitsio/Portfile	2012-10-08 23:49:07 UTC (rev 98571)
@@ -31,7 +31,8 @@
 checksums           rmd160  8af17e2597474f4f87a777881c6b6f4ae573c6e2 \
                     sha256  e8a70bca202caa4773c4a50288622ef5398752de5a5e8fcfc232859f928ff5d9
 
-patchfiles          patch-configure.diff
+patchfiles          patch-Makefile.in.diff \
+                    patch-configure.diff
 
 # turn off FORTRAN compiler wrappers by removing FORTRAN from the path
 configure.fc        ${prefix}/bin/no-possible-compiler

Added: trunk/dports/science/cfitsio/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/science/cfitsio/files/patch-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/science/cfitsio/files/patch-Makefile.in.diff	2012-10-08 23:49:07 UTC (rev 98571)
@@ -0,0 +1,15 @@
+--- Makefile.in.orig	2012-07-17 15:38:34.000000000 -0500
++++ Makefile.in	2012-10-08 18:42:23.000000000 -0500
+@@ -91,10 +91,10 @@
+ 
+ install:	libcfitsio.a $(INSTALL_DIRS)
+ 		@if [ -f libcfitsio.a ]; then \
+-			/bin/mv libcfitsio.a ${CFITSIO_LIB}; \
++			/bin/cp libcfitsio.a ${CFITSIO_LIB}; \
+ 		fi; \
+ 		if [ -f libcfitsio${SHLIB_SUFFIX} ]; then \
+-			/bin/mv libcfitsio${SHLIB_SUFFIX} ${CFITSIO_LIB}; \
++			/bin/cp libcfitsio${SHLIB_SUFFIX} ${CFITSIO_LIB}; \
+ 		fi; \
+ 		/bin/cp fitsio.h fitsio2.h longnam.h drvrsmem.h ${CFITSIO_INCLUDE}/; \
+ 		/bin/cp cfitsio.pc ${CFITSIO_LIB}/pkgconfig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121008/5081367e/attachment.html>


More information about the macports-changes mailing list