diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-03 12:24:26 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-03 12:24:26 +0000 |
commit | 17a043ebcdd6316843b85d6bccef676314db0b05 (patch) | |
tree | 8750231324508086cb75cdcadc02339d878c0c5d /graphics/evas-loader-bmp | |
parent | 41f553bf27d80a550bc4bd11a9b9d9b3c51520d1 (diff) |
Fix build with bmake by using gmake if make is bmake
Notes
Notes:
svn path=/head/; revision=317198
Diffstat (limited to 'graphics/evas-loader-bmp')
-rw-r--r-- | graphics/evas-loader-bmp/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/graphics/evas-loader-bmp/Makefile b/graphics/evas-loader-bmp/Makefile index 13be8f989c9f..f3aa94eb842a 100644 --- a/graphics/evas-loader-bmp/Makefile +++ b/graphics/evas-loader-bmp/Makefile @@ -18,6 +18,11 @@ DIST_SUBDIR= e17 USE_BZIP2= yes GNU_CONFIGURE= yes USES= pkgconfig +MYMAKE= ${MAKE} +.if defined(.PARSEDIR) +USE_GMAKE= yes +MYMAKE= ${GMAKE} +.endif USE_EFL= evas librt_hack libtool_hack USE_LDCONFIG= yes @@ -33,11 +38,11 @@ post-patch: ${MAKEDIRS:S,$,/Makefile.in,} do-build: - @(for DIR in ${MAKEDIRS}; do cd $${DIR}; ${SETENV} ${MAKE_ENV} ${MAKE} \ + @(for DIR in ${MAKEDIRS}; do cd $${DIR}; ${SETENV} ${MAKE_ENV} ${MYMAKE} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}; done) do-install: - @(for DIR in ${MAKEDIRS}; do cd $${DIR}; ${SETENV} ${MAKE_ENV} ${MAKE} \ + @(for DIR in ${MAKEDIRS}; do cd $${DIR}; ${SETENV} ${MAKE_ENV} ${MYMAKE} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}; done) .include <bsd.port.mk> |