Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 2014 21:58:09 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359136 - head/audio/libcanberra-gtk3
Message-ID:  <201406242158.s5OLw9jY072059@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406242158.s5OLw9jY072059>