diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2014-06-06 23:04:50 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2014-06-06 23:04:50 +0000 |
commit | 55639d43fd6680a17b6be4ef44fade4b51ff0d2b (patch) | |
tree | 9608cdf50f4bb7559eb92d9573abefeca9872d54 | |
parent | Add staging support. (diff) |
Add staging support.
Notes
Notes:
svn path=/head/; revision=356866
-rw-r--r-- | finance/libstocks/Makefile | 4 | ||||
-rw-r--r-- | finance/libstocks/files/Makefile.client | 2 | ||||
-rw-r--r-- | finance/libstocks/files/Makefile.lib | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/finance/libstocks/Makefile b/finance/libstocks/Makefile index 0a9a528ad280..0a3741180a6a 100644 --- a/finance/libstocks/Makefile +++ b/finance/libstocks/Makefile @@ -12,15 +12,15 @@ COMMENT= A C library which can be used to fetch stocks quotes USE_LDCONFIG= yes REINPLACE_ARGS= -i "" MAKE_ENV= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null +MAKE_ENV+= STAGEDIR="${STAGEDIR}" +USES= uidfix -NO_STAGE= yes post-patch: ${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' \ -e 's/__UNIX__/__unix__/' \ $$(${GREP} --mmap -El '<malloc.h>|__UNIX__' \ ${WRKSRC}/lib/*.c); \ - do-build do-install: .for d in lib client cd ${WRKSRC}/$d && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKEFLAGS} -j2 \ diff --git a/finance/libstocks/files/Makefile.client b/finance/libstocks/files/Makefile.client index 79a359c6c50f..206073fbc215 100644 --- a/finance/libstocks/files/Makefile.client +++ b/finance/libstocks/files/Makefile.client @@ -2,7 +2,7 @@ PROG= libstocks_client SRCS= client.c NO_MAN= 1 PREFIX?=/usr/local -BINDIR= ${PREFIX}/bin +BINDIR= ${STAGEDIR}${PREFIX}/bin CFLAGS+=-I${.CURDIR}/../lib LDADD+= -L../lib -lstocks diff --git a/finance/libstocks/files/Makefile.lib b/finance/libstocks/files/Makefile.lib index 04853c049c27..0a97c014939f 100644 --- a/finance/libstocks/files/Makefile.lib +++ b/finance/libstocks/files/Makefile.lib @@ -1,13 +1,13 @@ PREFIX?=/usr/local -LIBDIR= ${PREFIX}/lib -INCSDIR=${PREFIX}/include +LIBDIR= ${STAGEDIR}${PREFIX}/lib +INCSDIR=${STAGEDIR}${PREFIX}/include INCDIR= ${INCSDIR} # for 4.x bsd.lib.mk LIB= stocks SHLIB_MAJOR=0 SHLIB_MINOR=5 -NOPROFILE= True # to avoid building profiled library +NO_PROFILE= True # to avoid building profiled library SRCS!= ${MAKE} -f ${.CURDIR}/Makefile.in -V libstocks_a_SOURCES INCS!= ${MAKE} -f ${.CURDIR}/Makefile.in -V include_HEADERS |