$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP)/build_unix && ../dist/configure --prefix=/usr
- cd $(DIR_APP)/build_unix && make
- cd $(DIR_APP)/build_unix && make install
+ cd $(DIR_APP)/build_unix && ../dist/configure --prefix=/usr --enable-compat185 --enable-cxx
+ cd $(DIR_APP)/build_unix && make LIBSO_LIBS="-lpthread" LIBXSO_LIBS="-lpthread"
+ cd $(DIR_APP)/build_unix && make docdir=/usr/share/doc/$(THISAPP) install
+ chown root:root /usr/bin/db_* /usr/lib/libdb* /usr/include/db*
+ chown -R root:root /usr/share/doc/$(THISAPP)
@rm -rf $(DIR_APP)
@$(POSTBUILD)