summaryrefslogtreecommitdiff
path: root/package/ng-spice-rework
diff options
context:
space:
mode:
Diffstat (limited to 'package/ng-spice-rework')
-rw-r--r--package/ng-spice-rework/Config.in2
-rw-r--r--package/ng-spice-rework/ng-spice-rework.mk4
2 files changed, 6 insertions, 0 deletions
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))