building ports with "MULTI_PACKAGES"

Bryan brakeb at gmail.com
Thu Apr 3 11:06:49 PDT 2008


I am building OpenOffice from ports (I'm a sadist).  In the makefile,
there are three main "MULTI_PACKAGES" (-main -kde -java).  So far,
I've found no way to make it so that the "-kde" and "-java" portions
do not build.  KDE adds hours to the build, and so does java.  I read
man (7) ports and saw the "env SUBPACKAGE="-server" make deinstall,
but that doesn't work.  I issue the following command:

env SUBPACKAGE="-main" CLEANDEPENDS="yes" make install package clean,
but OO.org is building java as we speak. adding "-main" to FLAVORS
does not work either.

Is there any way to not build OO.org's kde and java packages???


More information about the Openbsd-newbies mailing list