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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Sat Dec 17 14:19:46 CET 2011


Revision: 16548
          http://gar.svn.sourceforge.net/gar/?rev=16548&view=rev
Author:   dmichelsen
Date:     2011-12-17 13:19:46 +0000 (Sat, 17 Dec 2011)
Log Message:
-----------
freetds/trunk: Depend on libiconv to make libs self-sufficient

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

Modified: csw/mgar/pkg/freetds/trunk/Makefile
===================================================================
--- csw/mgar/pkg/freetds/trunk/Makefile	2011-12-17 12:26:10 UTC (rev 16547)
+++ csw/mgar/pkg/freetds/trunk/Makefile	2011-12-17 13:19:46 UTC (rev 16548)
@@ -32,15 +32,18 @@
 PACKAGES += CSWlibct4
 SPKG_DESC_CSWlibct4 = FreeTDS library, libct.so.4
 PKGFILES_CSWlibct4 += $(call pkgfiles_lib,libct.so.4)
+RUNTIME_DEP_PKGS_CSWlibct4 += CSWlibiconv2
 
 PACKAGES += CSWlibsybdb5
 SPKG_DESC_CSWlibsybdb5 += FreeTDS library, libsybdb.so.5
 PKGFILES_CSWlibsybdb5 += $(call pkgfiles_lib,libsybdb.so.5)
+RUNTIME_DEP_PKGS_CSWlibsybdb5 += CSWlibiconv2
 
 PACKAGES += CSWlibtdsodbc0
 SPKG_DESC_CSWlibtdsodbc0 = FreeTDS library, libtdsodbc.so.0
 PKGFILES_CSWlibtdsodbc0 += $(call pkgfiles_lib,libtdsodbc.so.0)
 RUNTIME_DEP_PKGS_CSWlibtdsodbc0 += CSWlibodbcinst2
+RUNTIME_DEP_PKGS_CSWlibtdsodbc0 += CSWlibiconv2
 
 PACKAGES += CSWfreetds-dev
 SPKG_DESC_CSWfreetds-dev = Development files for libct.so.4, libsybdb.so.5 and libtdsodbc.so.0
@@ -54,6 +57,9 @@
 # There are lots of examples which would need careful adjustment, contributions welcome!
 CHECKPKG_OVERRIDES_CSWfreetds-dev += file-with-bad-content
 
+# Make sure library is self-sufficient
+EXTRA_LINKER_FLAGS = -liconv
+
 BUILD64 = 1
 
 # Testsuite needs a running Sybase/SQLServer database

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