about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-02-24 19:57:53 +0000
committerEric Wong <normalperson@yhbt.net>2011-02-24 19:57:53 +0000
commit14ae430b99244d7b20ae3bb33822f9d98a3a5c8a (patch)
treeb84ac5f1e8ac918b03c34c28871b151003461ebd
parentd25104b59e0cb327f877266b7821c1727d3e0037 (diff)
downloadkcar-14ae430b99244d7b20ae3bb33822f9d98a3a5c8a.tar.gz
-rw-r--r--pkg.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg.mk b/pkg.mk
index a09196d..487733a 100644
--- a/pkg.mk
+++ b/pkg.mk
@@ -44,6 +44,8 @@ $(ext_dl): $(ext_src) $(ext_pfx_src) $(ext_pfx)/$(ext)/Makefile
         $(MAKE) -C $(@D)
 lib := $(lib):$(ext_pfx)/$(ext)
 build: $(ext_dl)
+else
+build:
 endif
 
 pkg_extra += GIT-VERSION-FILE NEWS ChangeLog LATEST
@@ -145,7 +147,7 @@ test_units := $(wildcard test/test_*.rb)
 test: test-unit
 test-unit: $(test_units)
 $(test_units): build
-        $(RUBY) -I $(lib) $@
+        $(RUBY) -I $(lib) $@ $(RUBY_TEST_OPTS)
 
 # this requires GNU coreutils variants
 ifneq ($(RSYNC_DEST),)