Pass PREFIX to the install script in case it's not /usr/local

PR:		216834
Submitted by:	mi
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D9800
This commit is contained in:
Matthew Rezny 2017-02-25 14:50:28 +00:00
parent aa5286eed0
commit 46060e3ac3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434816

View file

@ -28,7 +28,7 @@ USE_LDCONFIG= yes
OPTIONS_DEFINE_i386= SSE2
OPTIONS_DEFINE?= #
SSE2_DESCR= Use SSE2 instructions instead of x87 FP
SSE2_DESCR= Use SSE2 instructions instead of x87 FPU
.include <bsd.port.pre.mk>
@ -43,6 +43,6 @@ DISTNAME= OptimFROG_FreeBSD_x86_${DISTVERSION:S/.//}
.endif
do-install:
@(cd ${WRKSRC} && ./install.sh -d ${STAGEDIR})
@(cd ${WRKSRC} && ./install.sh -d "${STAGEDIR}" -p "${PREFIX}")
.include <bsd.port.post.mk>