Builds fine in a separate directory: $ du -sh `make show=WRKDIR`/* 12.0K /tmp/pobj/rspamd-1.7.9/bin 43.8M /tmp/pobj/rspamd-1.7.9/build-amd64 20.3M /tmp/pobj/rspamd-1.7.9/rspamd-1.7.9
Firewall adjustments for tests with PORTS_PRIVSEP so move the comment into IS_INTERACTIVE. While here, zap whitespace nits and sort dependencies alphabetically. OK? Index: Makefile =================================================================== RCS file: /cvs/ports/mail/rspamd/Makefile,v retrieving revision 1.55 diff -u -p -r1.55 Makefile --- Makefile 1 Aug 2018 17:11:44 -0000 1.55 +++ Makefile 20 Aug 2018 11:12:00 -0000 @@ -20,20 +20,21 @@ WANTLIB += intl luajit-5.1 m magic pcre MODULES= devel/cmake LIB_DEPENDS= databases/sqlite3 \ - devel/libmagic \ devel/gettext \ devel/glib2 \ + devel/libmagic \ devel/pcre \ lang/luajit \ textproc/icu4c BUILD_DEPENDS+= devel/ragel # /var/rspamd needs to exist for tests to run -TEST_DEPENDS = ${FULLPKGNAME}:${FULLPKGPATH} -TEST_DEPENDS += databases/redis \ +TEST_DEPENDS= ${FULLPKGNAME}:${FULLPKGPATH} +TEST_DEPENDS+= databases/redis \ + devel/py-robotframework \ sysutils/py-psutil \ - textproc/py-demjson \ - devel/py-robotframework + textproc/py-demjson +SEPARATE_BUILD= Yes CONFIGURE_ARGS+=-DOPENBSD_BUILD=1 \ -DCMAKE_C_OPT_FLAGS="${CFLAGS}" \ -DCONFDIR="${SYSCONFDIR}/rspamd" \ @@ -45,10 +46,11 @@ CONFIGURE_ARGS+=-DOPENBSD_BUILD=1 \ -DRSPAMD_GROUP="_rspamd" # Make sure we pick up the base libevent, never the ports one! -CONFIGURE_ARGS += -DLIBEVENT_ROOT_DIR=/usr -# Make sure you have no rspamd or redis instances running and note that the -# test suite uses the network. -# +CONFIGURE_ARGS+= -DLIBEVENT_ROOT_DIR=/usr + +TEST_IS_INTERACTIVE= Make sure you have no rspamd or redis instances running \ + and note that the test suite uses the network. + # In the event of failing tests, look at log.html in ${WRKSRC} do-test: cd ${WRKSRC} && \