</os>
</activation>
<properties>
- <platform>linux</platform>
+ <platform>linux</platform> <!-- no solaris etc -->
<packaging>so</packaging>
<!-- yaz-config executable -->
<yaz.config>yaz-config</yaz.config>
</profile>
<profile>
- <!-- osx is both 'unix' and 'mac' -->
+ <!-- osx family is both 'unix' and 'mac' -->
<id>osx</id>
<activation>
- <jdk>1.6</jdk>
<os>
<family>mac</family>
</os>
<properties>
<platform>osx</platform>
<packaging>dylib</packaging>
- <javahOS>mac</javahOS>
- <jdkIncludePath>${java.home}/../Headers</jdkIncludePath>
+ <javahOS>darwin</javahOS>
+ <jdkIncludePath>${java.home}/../include</jdkIncludePath>
</properties>
<modules>
<module>unix</module>
</profile>
<profile>
- <!-- osx is both 'unix' and 'mac', oracle JDK has different layout -->
- <id>osx-oracle</id>
+ <!-- Apple JDK has a different include layout -->
+ <id>apple-jdk</id>
<activation>
- <jdk>[1.7,)</jdk>
- <os>
- <family>mac</family>
- </os>
+ <property>
+ <name>java.vendor</name>
+ <value>Apple Inc.</value>
+ </property>
</activation>
<properties>
- <platform>osx</platform>
- <packaging>dylib</packaging>
- <javahOS>darwin</javahOS>
- <jdkIncludePath>${java.home}/../include</jdkIncludePath>
+ <jdkIncludePath>${java.home}/../Headers</jdkIncludePath>
</properties>
<modules>
<module>unix</module>