include /usr/share/dpatch/dpatch.make
CFLAGS = -Wall -g
+#WARN: doesn't compile/package if HAS_LIBRARY_* options not present (since we use configure now)
MAKE_FLAGS = messages=yes OPTFLAG=-O0 HAS_LIBRARY_ldap=yes HAS_LIBRARY_pq=yes HAS_LIBRARY_xml2=yes
GNUSTEP_SETUP=/usr/lib/opengroupware.org/System/Library/Makefiles/GNUstep.sh
GNUSTEP_INSTALLATION_DIR=$(CURDIR)/debian/tmp/$$GNUSTEP_SYSTEM_ROOT\
INSTALL_ROOT_DIR=$(CURDIR)/debian/tmp\
FHS_INSTALL_ROOT=$(CURDIR)/debian/tmp/usr \
- FHS_LIB_DIR=$(CURDIR)/debian/tmp/usr/lib
+ FHS_LIB_DIR=$(CURDIR)/debian/tmp/usr/lib/ #WARN: <- trailing slash unbroke build/packages?!
CFLAGS="$(CFLGAS)" . $(GNUSTEP_SETUP); \
$(MAKE) $(MAKE_FLAGS) -C sope-appserver/mod_ngobjweb install \