From 09d32f75e1fd2ff77b570b3a58820c1c40886ea5 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Wed, 5 Feb 2014 09:28:07 +0000 Subject: [PATCH] - Stage support --- math/lp_solve/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/math/lp_solve/Makefile b/math/lp_solve/Makefile index 4e29389bb99e..3b665bf48fcb 100644 --- a/math/lp_solve/Makefile +++ b/math/lp_solve/Makefile @@ -18,7 +18,6 @@ USE_LDCONFIG= yes BUILDENV= ${SETENV} TMPDIR="${TMPDIR}" .endif -NO_STAGE= yes .include .if ${ARCH} == "i386" || ${ARCH} == "powerpc" @@ -40,14 +39,14 @@ do-build: cd ${WRKSRC}/lpsolve55 ; ${BUILDENV} ${SH} -x ccc do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/lp_solve/bin/${LPSOLVE_ARCH}/lp_solve ${PREFIX}/bin - @${MKDIR} ${PREFIX}/include/lpsolve + ${INSTALL_PROGRAM} ${WRKSRC}/lp_solve/bin/${LPSOLVE_ARCH}/lp_solve ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${PREFIX}/include/lpsolve .for i in declare.h fortify.h ini.h lp_*.h lpkit.h lpsolve.h ufortify.h yacc_read.h - ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/include/lpsolve + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/include/lpsolve .endfor .for i in liblpsolve55.a liblpsolve55.so - ${INSTALL_DATA} ${WRKSRC}/lpsolve55/bin/${LPSOLVE_ARCH}/${i} ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/lpsolve55/bin/${LPSOLVE_ARCH}/${i} ${STAGEDIR}${PREFIX}/lib .endfor - ${LN} -sf liblpsolve55.so ${PREFIX}/lib/liblpsolve55.so.1 + ${LN} -sf liblpsolve55.so ${STAGEDIR}${PREFIX}/lib/liblpsolve55.so.1 .include