[csw-devel] SF.net SVN: gar:[11776] csw/mgar/pkg/netcdf/trunk/Makefile

gadavis at users.sourceforge.net gadavis at users.sourceforge.net
Sat Dec 4 01:26:11 CET 2010


Revision: 11776
          http://gar.svn.sourceforge.net/gar/?rev=11776&view=rev
Author:   gadavis
Date:     2010-12-04 00:26:11 +0000 (Sat, 04 Dec 2010)

Log Message:
-----------
Add dependencies for devel package on provided libraries

Modified Paths:
--------------
    csw/mgar/pkg/netcdf/trunk/Makefile

Modified: csw/mgar/pkg/netcdf/trunk/Makefile
===================================================================
--- csw/mgar/pkg/netcdf/trunk/Makefile	2010-12-03 22:20:19 UTC (rev 11775)
+++ csw/mgar/pkg/netcdf/trunk/Makefile	2010-12-04 00:26:11 UTC (rev 11776)
@@ -84,6 +84,9 @@
 PKGFILES_CSWnetcdf-devel += /opt/csw/lib/amd64/libnetcdf_c\+\+.so
 PKGFILES_CSWnetcdf-devel += /opt/csw/lib/amd64/libnetcdff.so
 PKGFILES_CSWnetcdf-devel += $(PKGFILES_DEVEL)
+RUNTIME_DEP_PKGS_CSWnetcdf-devel += CSWlibnetcdf6
+RUNTIME_DEP_PKGS_CSWnetcdf-devel += CSWlibnetcdff5
+RUNTIME_DEP_PKGS_CSWnetcdf-devel += CSWlibnetcdf-c++5
 
 ## CFLAGS AND LDFLAGS are necessary due to problems with the fortran bindings when
 ## building 64-bit
@@ -147,4 +150,10 @@
 ## From Porting FAQ: http://wiki.opencsw.org/porting-faq#toc5
 OPT_FLAGS_GCC = 
 
+## The development package should pull in the various libs since it's hard to
+## link against what isn't there
+CHECKPKG_OVERRIDES_CSWnetcdf-devel += surplus-dependency|CSWlibnetcdf-c++5
+CHECKPKG_OVERRIDES_CSWnetcdf-devel += surplus-dependency|CSWlibnetcdf6
+CHECKPKG_OVERRIDES_CSWnetcdf-devel += surplus-dependency|CSWlibnetcdff5
+
 include gar/category.mk


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list