diff options
author | crees <crees@FreeBSD.org> | 2011-09-07 02:20:02 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2011-09-07 02:20:02 +0800 |
commit | 281f5c561ab5c74622c41e90e798f9a5e75cb350 (patch) | |
tree | e3e049792b709ee0e4472e640b0f0033f9079a50 | |
parent | 93da9de526a9e9a88e9372b728e340684eb70a01 (diff) | |
download | freebsd-ports-gnome-281f5c561ab5c74622c41e90e798f9a5e75cb350.tar.gz freebsd-ports-gnome-281f5c561ab5c74622c41e90e798f9a5e75cb350.tar.zst freebsd-ports-gnome-281f5c561ab5c74622c41e90e798f9a5e75cb350.zip |
- Restore REINPLACE, unbreaking amd64 build
- While here, tidy up and use bsd.port.options.mk
Submitted by: Ruslan Mahmatkhanov cvs-src@yandex.ru (maintainer)
-rw-r--r-- | graphics/gimp-gmic-plugin/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/gimp-gmic-plugin/Makefile b/graphics/gimp-gmic-plugin/Makefile index 5f95695f7ed0..42295315d61a 100644 --- a/graphics/gimp-gmic-plugin/Makefile +++ b/graphics/gimp-gmic-plugin/Makefile @@ -44,7 +44,7 @@ CXXFLAGS:= ${CXXFLAGS:N-O*:N-pipe} MAN1= gmic.1 MANCOMPRESSED= yes -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> .if defined(WITH_BASH) RUN_DEPENDS+= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash @@ -53,23 +53,23 @@ PLIST_SUB+= BASH="" PLIST_SUB+= BASH="@comment " .endif +post-patch: + @${REINPLACE_CMD} -e 's#/usr/X11R6#${PREFIX}#g' \ + -e 's/-lcv -lhighgui/-lopencv_legacy/g' \ + ${WRKSRC}/src/Makefile # GMIC is broken with OpenCV 2.3.1, so disable it for now -#post-patch: # @${REINPLACE_CMD} -e 's/-lcv/-lopencv_legacy/g' \ # -e 's/-lhighgui/-lopencv_legacy/g' \ # ${WRKSRC}/configure -# @${REINPLACE_CMD} -e 's#/usr/X11R6#${PREFIX}#g' \ -# -e 's/-lcv -lhighgui/-lopencv_legacy/g' \ -# ${WRKSRC}/src/Makefile do-install: @${MKDIR} ${PREFIX}/${PLUGIN_DIR} ${INSTALL_PROGRAM} ${WRKSRC}/src/gmic_gimp ${PREFIX}/${PLUGIN_DIR} ${INSTALL_PROGRAM} ${WRKSRC}/src/gmic ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/man/gmic.1.gz ${MANPREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/man/gmic.1.gz ${MAN1PREFIX}/man/man1 .if defined(WITH_BASH) ${INSTALL_SCRIPT} ${WRKSRC}/src/gmic_bashcompletion.sh \ ${PREFIX}/etc/bash_completion.d/gmic_bashcompletion.sh .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |