Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2014 09:28:08 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342676 - head/math/lp_solve
Message-ID:  <201402050928.s159S8FU054397@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Wed Feb  5 09:28:07 2014
New Revision: 342676
URL: http://svnweb.freebsd.org/changeset/ports/342676
QAT: https://qat.redports.org/buildarchive/r342676/

Log:
  - Stage support

Modified:
  head/math/lp_solve/Makefile

Modified: head/math/lp_solve/Makefile
==============================================================================
--- head/math/lp_solve/Makefile	Wed Feb  5 09:28:00 2014	(r342675)
+++ head/math/lp_solve/Makefile	Wed Feb  5 09:28:07 2014	(r342676)
@@ -18,7 +18,6 @@ USE_LDCONFIG=	yes
 BUILDENV=	${SETENV} TMPDIR="${TMPDIR}"
 .endif
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .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 <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402050928.s159S8FU054397>