I am trying to update the databases/riak port to use the latest 2.0.5.
First I am trying to modify the Makefile in order to compile the the software, with the following code I can do it (installation and more stuff pending):
https://gist.github.com/nbari/3fc1fefde17ab0a11364
But has you may notice I am defining
Therefore I would like to know how to properly clear the LDFLAGS, using bsd.port.pre.mk/bsd.port.post.mk don't clear/set the LDFLAGS.
First I am trying to modify the Makefile in order to compile the the software, with the following code I can do it (installation and more stuff pending):
https://gist.github.com/nbari/3fc1fefde17ab0a11364
Code:
# $FreeBSD: head/databases/riak/Makefile 371981 2014-11-01 00:09:15Z bapt $
PORTNAME= riak
PORTVERSION= 2.0.5
CATEGORIES= databases
MASTER_SITES= http://s3.amazonaws.com/downloads.basho.com/riak/${PORTVERSION:R}/${PORTVERSION}/ \
http://downloads.basho.com.s3.amazonaws.com/riak/${PORTVERSION:R}/${PORTVERSION}/
MAINTAINER= robak@FreeBSD.org
COMMENT= Riak is an open source, distributed, noSQL database
LICENSE= APACHE20
BUILD_DEPENDS= ${LOCALBASE}/lib/erlang16/bin/erlc:${PORTSDIR}/lang/erlang-runtime16
USES= gmake readline
USE_GCC= 4.6+
USE_RC_SUBR= riak
USERS= riak
GROUPS= riak
ALL_TARGET= rel
MAKE_JOBS_UNSAFE=yes
MAKE_ENV= PATH=${LOCALBASE}/lib/erlang16/bin:${PATH}
.include <bsd.port.mk>
LDFLAGS=
LDFLAGS=
after .include <bsd.port.mk>
, the reason for doing this is that if I use the default LDFLAGS the compile process breaks.Therefore I would like to know how to properly clear the LDFLAGS, using bsd.port.pre.mk/bsd.port.post.mk don't clear/set the LDFLAGS.