svn commit: r359136 - head/audio/libcanberra-gtk3
Baptiste Daroussin
bapt at FreeBSD.org
Tue Jun 24 21:58:10 UTC 2014
Author: bapt
Date: Tue Jun 24 21:58:09 2014
New Revision: 359136
URL: http://svnweb.freebsd.org/changeset/ports/359136
QAT: https://qat.redports.org/buildarchive/r359136/
Log:
Simplify makefile and get rid of GMAKE call
Modified:
head/audio/libcanberra-gtk3/Makefile
Modified: head/audio/libcanberra-gtk3/Makefile
==============================================================================
--- head/audio/libcanberra-gtk3/Makefile Tue Jun 24 21:52:42 2014 (r359135)
+++ head/audio/libcanberra-gtk3/Makefile Tue Jun 24 21:58:09 2014 (r359136)
@@ -13,10 +13,13 @@ MASTERDIR= ${.CURDIR}/../../audio/libcan
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' \
More information about the svn-ports-all
mailing list