about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-03-09 21:08:19 -0800
committerEric Wong <normalperson@yhbt.net>2011-03-09 21:08:19 -0800
commit7e77698bffc73032e0cbc8e1179d627a3356572a (patch)
treeb0a5dbeffa6ea20911671b1836e7ac3aa9c83d7b
parentcdebfac019b5e771f7babc5646a3c7961729eaca (diff)
downloadsleepy_penguin-7e77698bffc73032e0cbc8e1179d627a3356572a.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),)