From 1dd9d9f34563d93868af7fffc02f22d6c65b83a1 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 23 Nov 2009 13:54:05 +0100 Subject: ng-spice-rework: needs X11 / libXaw support Signed-off-by: Peter Korsgaard --- package/ng-spice-rework/Config.in | 2 ++ package/ng-spice-rework/ng-spice-rework.mk | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'package') diff --git a/package/ng-spice-rework/Config.in b/package/ng-spice-rework/Config.in index 5385042e3..a82f439fc 100644 --- a/package/ng-spice-rework/Config.in +++ b/package/ng-spice-rework/Config.in @@ -1,5 +1,7 @@ config BR2_PACKAGE_NG_SPICE_REWORK bool "ng-spice-rework" + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBXAW help Ngspice is a mixed-level/mixed-signal circuit simulator. diff --git a/package/ng-spice-rework/ng-spice-rework.mk b/package/ng-spice-rework/ng-spice-rework.mk index 45236479d..5f9c5b8a2 100644 --- a/package/ng-spice-rework/ng-spice-rework.mk +++ b/package/ng-spice-rework/ng-spice-rework.mk @@ -12,6 +12,10 @@ NG_SPICE_REWORK_INSTALL_TARGET = YES NG_SPICE_REWORK_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install NG_SPICE_REWORK_CONF_OPT = CFLAGS="-I$(STAGING_DIR)/usr/include" +# the above doesn't work with shared config.cache +NG_SPICE_REWORK_USE_CONFIG_CACHE = NO + +NG_SPICE_REWORK_DEPENDENCIES = xserver_xorg-server xlib_libXaw $(eval $(call AUTOTARGETS,package,ng-spice-rework)) -- cgit v1.2.3