On 2017/04/03 14:18, Marcus Glocker wrote: > Currently apache-couchdb seems to refer to the erlang binaries located > in the obj directory: > > # couchdb > > /usr/local/bin/couchdb: /usr/obj/ports/apache-couchdb-1.6.1/bin/erl: not > found > > # grep "command=" /usr/local/bin/couchdb > > command="/usr/obj/ports/apache-couchdb-1.6.1/bin/erl > $interactive_option $ERL_START_OPTIONS \ > > I have tested following fix: > > > Index: apache-couchdb/Makefile > =================================================================== > RCS file: /cvs/ports/databases/apache-couchdb/Makefile,v > retrieving revision 1.28 > diff -u -p -u -p -r1.28 Makefile > --- apache-couchdb/Makefile 4 Nov 2016 11:35:18 -0000 1.28 > +++ apache-couchdb/Makefile 3 Apr 2017 12:02:30 -0000 > @@ -38,7 +38,9 @@ CONFIGURE_ARGS = --with-erlang=${LOCALBA > --disable-docs \ > --disable-init > # The 'erl -version' test in configure needs HOME to be set. > -CONFIGURE_ENV = HOME=${PORTHOME} > +CONFIGURE_ENV = HOME=${PORTHOME} \ > + ERL=${LOCALBASE}/bin/erl${MODERL_VERSION} \ > + ERLC=${LOCALBASE}/bin/erlc${MODERL_VERSION} > > TEST_TARGET = check > PORTHOME = ${WRKDIR} >
Seems sane. Bump REVISION then it's ok sthen@.