summaryrefslogtreecommitdiffstats
path: root/package/ng-spice-rework
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-11-23 13:54:05 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2009-11-23 13:54:05 +0100
commit1dd9d9f34563d93868af7fffc02f22d6c65b83a1 (patch)
tree57970f1fdcb01d54773d63c865b33eebf2a1e54d /package/ng-spice-rework
parent9ab3ad73324ab6de0c69875a42723a1bda3259b2 (diff)
downloadbuildroot-novena-1dd9d9f34563d93868af7fffc02f22d6c65b83a1.tar.gz
buildroot-novena-1dd9d9f34563d93868af7fffc02f22d6c65b83a1.zip
ng-spice-rework: needs X11 / libXaw support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
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))