diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-04-24 20:10:15 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-04-29 21:01:01 +0000 |
commit | b57b0fa2bda6c755d366df0dc0579e244fb167a8 (patch) | |
tree | a5349f081bdd0f385f62e425ef58e33c88b6520d | |
parent | 07871a12535da6cd58abf58f8a3f8dca3dffbb6e (diff) | |
download | sleepy_penguin-b57b0fa2bda6c755d366df0dc0579e244fb167a8.tar.gz |
This allows us to use something like: make build EXTCONF_ARGS='--with-kqueue-include=/usr/include/kqueue \ --with-kqueue-libs=-lkqueue' To build with libkqueue.
-rw-r--r-- | pkg.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ $(ext_pfx)/$(ext)/%: $(ext)/% $(ext_d) install -m 644 $< $@ $(ext_pfx)/$(ext)/Makefile: $(ext)/extconf.rb $(ext_d) $(ext_h) $(RM) -f $(@D)/*.o - cd $(@D) && $(RUBY) $(CURDIR)/$(ext)/extconf.rb + cd $(@D) && $(RUBY) $(CURDIR)/$(ext)/extconf.rb $(EXTCONF_ARGS) ext_sfx := _ext.$(DLEXT) ext_dl := $(ext_pfx)/$(ext)/$(notdir $(ext)_ext.$(DLEXT)) $(ext_dl): $(ext_src) $(ext_pfx_src) $(ext_pfx)/$(ext)/Makefile |