1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Simplify makefile and get rid of GMAKE call

This commit is contained in:
Baptiste Daroussin 2014-06-24 21:58:09 +00:00
parent c89dc38885
commit 9edbcac86f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359136

View File

@ -13,10 +13,13 @@ MASTERDIR= ${.CURDIR}/../../audio/libcanberra
SLAVEPORT= gtk3
PLIST= ${.CURDIR}/pkg-plist
do-build:
cd ${WRKSRC} && ${GMAKE} libcanberra-gtk3.pc
cd ${WRKSRC}/src && ${GMAKE} libcanberra-gtk3.la
cd ${WRKSRC}/src && ${GMAKE} libcanberra-gtk3-module.la
BUILD_WRKSRC= ${WRKSRC}/src
ALL_TARGET= libcanberra-gtk3.la libcanberra-gtk3-module.la
pre-build:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} libcanberra-gtk3.pc
post-build:
# fix the .la file so it doesn't point to the build dir anymore.
@${REINPLACE_CMD} -e '/^relink_command/ d' \
-e 's|${WRKSRC}/src/libcanberra.la|${LOCALBASE}/lib/libcanberra.la|g' \