mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Respect LOCALBASE
This commit is contained in:
parent
f621bde8ff
commit
11e3cfbeb5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290571
@ -30,8 +30,8 @@ USE_GNOME= pkgconfig
|
||||
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig
|
||||
PLIST_SUB+= PKGCONFIGDIR=${PKGCONFIGDIR:S;${PREFIX}/;;}
|
||||
PKGCONFIGDIR?= ${LOCALBASE}/libdata/pkgconfig
|
||||
PLIST_SUB+= PKGCONFIGDIR=${PKGCONFIGDIR:S;${LOCALBASE}/;;}
|
||||
|
||||
OPTIONS= PYTHON "Python bindings" on
|
||||
|
||||
@ -48,7 +48,7 @@ CONFIGURE_ENV+= XSLTPROC="/usr/bin/true"
|
||||
CONFIGURE_ENV+= NOCOLOR=yes
|
||||
MAKE_ENV+= NOCOLOR=yes X11BASE=${LOCALBASE}
|
||||
|
||||
CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man
|
||||
CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man --prefix=${LOCALBASE}
|
||||
|
||||
.if !defined(DISABLE_MAKE_JOBS)
|
||||
CONFIGURE_ARGS+= --jobs=${MAKE_JOBS_NUMBER}
|
||||
@ -83,7 +83,7 @@ pre-build:
|
||||
|
||||
do-build:
|
||||
@(cd ${BUILD_WRKSRC}; \
|
||||
if ! ${SETENV} ${MAKE_ENV} ${BUILD_WRKSRC}/${WAF_TOOL} ${_MAKE_JOBS} ${MAKE_ARGS} build; then \
|
||||
if ! ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${BUILD_WRKSRC}/${WAF_TOOL} ${_MAKE_JOBS} ${MAKE_ARGS} build; then \
|
||||
if [ x != x${BUILD_FAIL_MESSAGE} ] ; then \
|
||||
${ECHO_MSG} "===> Compilation failed unexpectedly."; \
|
||||
(${ECHO_CMD} ${BUILD_FAIL_MESSAGE}) | ${FMT} 75 79 ; \
|
||||
@ -92,6 +92,6 @@ do-build:
|
||||
fi)
|
||||
|
||||
do-install:
|
||||
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${INSTALL_WRKSRC}/${WAF_TOOL} ${MAKE_ARGS} install)
|
||||
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${INSTALL_WRKSRC}/${WAF_TOOL} ${MAKE_ARGS} install)
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -19,10 +19,10 @@ LIB_DEPENDS= exif.12:${PORTSDIR}/graphics/libexif \
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
MAKE_JOBS_SAFE= yes
|
||||
CONFIGURE_ENV+= POPT_CFLAGS=-I${LOCALBASE}/include POPT_LIBS="-L${LOCALBASE}/lib -lpopt"
|
||||
|
||||
.if defined(WITHOUT_NLS)
|
||||
CONFIGURE_ARGS+= --disable-nls --without-libiconv-prefix
|
||||
CONFIGURE_ENV+= POPT_CFLAGS=-I${PREFIX}/include POPT_LIBS="-L${PREFIX}/lib -lpopt"
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.else
|
||||
USE_ICONV= yes
|
||||
|
Loading…
Reference in New Issue
Block a user