diff options
author | bapt <bapt@FreeBSD.org> | 2014-06-25 05:58:09 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-06-25 05:58:09 +0800 |
commit | e42465649c8c23525da249208c46c6cfd2ef7c87 (patch) | |
tree | 198ad25818e9e13a91c24352dbe027fd05749941 /audio/libcanberra-gtk3 | |
parent | 6330464aba22bcfbbb35b5cb88b30fd7639df212 (diff) | |
download | freebsd-ports-gnome-e42465649c8c23525da249208c46c6cfd2ef7c87.tar.gz freebsd-ports-gnome-e42465649c8c23525da249208c46c6cfd2ef7c87.tar.zst freebsd-ports-gnome-e42465649c8c23525da249208c46c6cfd2ef7c87.zip |
Simplify makefile and get rid of GMAKE call
Diffstat (limited to 'audio/libcanberra-gtk3')
-rw-r--r-- | audio/libcanberra-gtk3/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/audio/libcanberra-gtk3/Makefile b/audio/libcanberra-gtk3/Makefile index ed30028fbdc3..eac3ece6e634 100644 --- a/audio/libcanberra-gtk3/Makefile +++ b/audio/libcanberra-gtk3/Makefile @@ -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' \ |