BTW:<div>in make-rules/<a href="http://shared-macros.mk">shared-macros.mk</a>:</div><div><div>CC.gcc.32 =<span class="Apple-tab-span" style="white-space:pre"> </span>$(GCC_ROOT)/bin/gcc -m32</div><div>CXX.gcc.32 =<span class="Apple-tab-span" style="white-space:pre"> </span>$(GCC_ROOT)/bin/g++ -m32</div>
<div>CC.gcc.64 =<span class="Apple-tab-span" style="white-space:pre"> </span>$(GCC_ROOT)/bin/gcc -m64</div><div>CXX.gcc.64 =<span class="Apple-tab-span" style="white-space:pre"> </span>$(GCC_ROOT)/bin/g++ -m64</div><div>
CC =<span class="Apple-tab-span" style="white-space:pre"> </span>$(CC.$(COMPILER).$(BITS))</div>
<div><br></div><br><div class="gmail_quote">2011/12/23 Jeppe Toustrup <span dir="ltr"><<a href="mailto:openindiana@tenzer.dk">openindiana@tenzer.dk</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Thu, Dec 22, 2011 at 16:24, Игорь Пашев <<a href="mailto:pashev.igor@gmail.com">pashev.igor@gmail.com</a>> wrote:<br>
> include ../../make-rules/<a href="http://shared-macros.mk" target="_blank">shared-macros.mk</a><br>
><br>
> COMPONENT_NAME = GeoIP<br>
> COMPONENT_VERSION = 1.4.7<br>
> COMPONENT_SRC = $(COMPONENT_NAME)-$(COMPONENT_VERSION)<br>
> COMPONENT_PROJECT_URL = <a href="http://www.maxmind.com" target="_blank">http://www.maxmind.com</a><br>
> COMPONENT_ARCHIVE = $(COMPONENT_SRC).tar.gz<br>
> COMPONENT_ARCHIVE_HASH = sha1:2db3a61e19dfaa0e4131217b155a59ba4bd0c5cc<br>
> COMPONENT_ARCHIVE_URL =<br>
> <a href="http://geolite.maxmind.com/download/geoip/api/c/$(COMPONENT_ARCHIVE)" target="_blank">http://geolite.maxmind.com/download/geoip/api/c/$(COMPONENT_ARCHIVE)</a><br>
><br>
> include $(WS_TOP)/make-rules/<a href="http://prep.mk" target="_blank">prep.mk</a><br>
> include $(WS_TOP)/make-rules/<a href="http://configure.mk" target="_blank">configure.mk</a><br>
> include $(WS_TOP)/make-rules/<a href="http://ips.mk" target="_blank">ips.mk</a><br>
><br>
><br>
> build: $(BUILD_32_and_64)<br>
><br>
> test: $(TEST_32_and_64)<br>
><br>
> install: $(INSTALL_32_and_64)<br>
><br>
> BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)<br>
><br>
> include $(WS_TOP)/make-rules/<a href="http://depend.mk" target="_blank">depend.mk</a><br>
<br>
</div>I just tried that Makefile with a few changes:<br>
- Changed version to 1.4.8.<br>
- Updated SHA1 hash for tar ball.<br>
- Set the compiler to GCC.<br>
<br>
And this results in libraries in both the /usr/lib and /usr/lib/amd64<br>
folder, however, both sets of files are 32-bit according to "file".<br>
<br>
I'll have to look closer into this, but I'm not sure it will be on<br>
this side of the holidays.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Venlig hilsen / Kind regards<br>
Jeppe Toustrup (aka. Tenzer)<br>
<br>
_______________________________________________<br>
oi-dev mailing list<br>
<a href="mailto:oi-dev@openindiana.org">oi-dev@openindiana.org</a><br>
<a href="http://openindiana.org/mailman/listinfo/oi-dev" target="_blank">http://openindiana.org/mailman/listinfo/oi-dev</a><br>
</div></div></blockquote></div><br></div>