kumquat-buildroot/package/matchbox/matchbox-desktop/matchbox-desktop.mk
Thomas Petazzoni 50bdab9025 matchbox-desktop: fix link issue against libdl
matchbox-desktop uses dlopen(), so it needs to link against libdl. The
configure.ac and Makefile.am have the necessary provisions to do so,
but the included configure script does not replace LIBADD_DL in
src/Makefile.am as it should.

Therefore, we force the autoreconf of the package, which solves the
problem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-12-18 22:09:05 +01:00

33 lines
1.2 KiB
Makefile

#############################################################
#
# MatchBox Desktop
#
#############################################################
MATCHBOX_DESKTOP_VERSION_MAJOR = 0.9
MATCHBOX_DESKTOP_VERSION = $(MATCHBOX_DESKTOP_VERSION_MAJOR).1
MATCHBOX_DESKTOP_SOURCE = matchbox-desktop-$(MATCHBOX_DESKTOP_VERSION).tar.bz2
MATCHBOX_DESKTOP_SITE = http://downloads.yoctoproject.org/releases/matchbox/matchbox-desktop/$(MATCHBOX_DESKTOP_VERSION_MAJOR)
MATCHBOX_DESKTOP_LICENSE = GPLv2+
MATCHBOX_DESKTOP_LICENSE_FILES = COPYING
MATCHBOX_DESKTOP_DEPENDENCIES = matchbox-lib
MATCHBOX_DESKTOP_CONF_OPT = --enable-expat
# The bundled configure script does not properly replace LIBADD_DL, so
# we force an autoreconf even if we don't have any patches touching
# configure.ac/Makefile.am.
MATCHBOX_DESKTOP_AUTORECONF = YES
#############################################################
ifeq ($(BR2_PACKAGE_STARTUP_NOTIFICATION),y)
MATCHBOX_DESKTOP_CONF_OPT+=--enable-startup-notification
MATCHBOX_DESKTOP_DEPENDENCIES+=startup-notification
else
MATCHBOX_DESKTOP_CONF_OPT+=--disable-startup-notification
endif
#############################################################
$(eval $(autotools-package))