1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Fix build with Custom PREFIX/LOCALBASE

Reported by:    QATty
This commit is contained in:
Philip M. Gollucci 2009-06-12 01:23:02 +00:00
parent 429df9fcd8
commit 8c3b0cae79
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235612

View File

@ -22,8 +22,8 @@ USE_GMAKE= yes
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
SLANG_INCDIR?= ${PREFIX}/include
SLANG_LIBDIR?= ${PREFIX}/lib
SLANG_INCDIR?= ${LOCALBASE}/include
SLANG_LIBDIR?= ${LOCALBASE}/lib
LIB_DEPENDS_LIBSLANG?= slang.2:${PORTSDIR}/devel/libslang2
MAKE_ARGS= SLANG_INCDIR="${SLANG_INCDIR}" \
@ -46,6 +46,9 @@ DOCS+= BUGS \
sldocs/VFile.txt \
sldocs/utilsfun.txt
post-patch:
${REINPLACE_CMD} -e "s,/usr/local,${LOCALBASE}," ${WRKSRC}/Makefile ${WRKSRC}/scripts/init.sl
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/slirc