gamin: fix build
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 29 Jan 2009 10:13:02 +0000 (10:13 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 29 Jan 2009 10:13:02 +0000 (10:13 -0000)
Dependencies were wrong, and it didn't build without largefile support.

package/gamin/Config.in
package/gamin/gamin.mk

index 9975858452a91a403370f75ace1872796c9149f5..d4e9bcc794942669776bfbf9468babc7047e189d 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_GAMIN
        bool "gamin"
+       select BR2_PACKAGE_LIBGLIB2
        help
          the File Alteration Monitor
 
index ea1855bbba66a674dc2afd5a1de27292d4d2229f..f0a2a1f877b61265d22fa2a77fef690de8f3733e 100644 (file)
@@ -10,13 +10,17 @@ GAMIN_AUTORECONF = NO
 GAMIN_INSTALL_STAGING = YES
 GAMIN_INSTALL_TARGET = YES
 
-GAMIN_CONF_OPT = --program-prefix=""
+GAMIN_CONF_OPT = --program-prefix="" --disable-debug
 
 GAMIN_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
 
 GAMIN_CONF_ENV = have_abstract_sockets=no
 
-GAMIN_DEPENDENCIES = uclibc libgtk2
+ifneq ($(BR2_LARGEFILE),y)
+GAMIN_CONF_ENV += CC="$(TARGET_CC) $(TARGET_CFLAGS) -DNO_LARGEFILE_SOURCE"
+endif
+
+GAMIN_DEPENDENCIES = uclibc libglib2
 
 $(eval $(call AUTOTARGETS,package,gamin))