aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gobject-introspection
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2012-03-14 13:18:19 +0800
committermezz <mezz@FreeBSD.org>2012-03-14 13:18:19 +0800
commit362b7fd5679d00e70ab2e348e3ea3377adb1b0a1 (patch)
tree9b4dc3e0d61cb7fa379c37bbc8532c0abd3e16cc /devel/gobject-introspection
parent81a509ea33d5ba6252cc1d7a6e630d790758c449 (diff)
downloadfreebsd-ports-graphics-362b7fd5679d00e70ab2e348e3ea3377adb1b0a1.tar.gz
freebsd-ports-graphics-362b7fd5679d00e70ab2e348e3ea3377adb1b0a1.tar.zst
freebsd-ports-graphics-362b7fd5679d00e70ab2e348e3ea3377adb1b0a1.zip
- Fix the build with no-default CC, to trigger a build fail use CC with
spaces. [1] - Remove the cairo dependency. [2] PR: ports/158722 [1] ports/161185 [2] Submitted by: Dominic Fandrey <kamikaze@bsdforen.de> [1] Garrett Cooper <gcooper@ixsystems.com> [2] Feature safe: yes
Diffstat (limited to 'devel/gobject-introspection')
-rw-r--r--devel/gobject-introspection/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/devel/gobject-introspection/Makefile b/devel/gobject-introspection/Makefile
index 30cc507e08a..af0fe11530d 100644
--- a/devel/gobject-introspection/Makefile
+++ b/devel/gobject-introspection/Makefile
@@ -16,8 +16,7 @@ DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Generate interface introspection data for GObject libraries
-LIB_DEPENDS= ffi.5:${PORTSDIR}/devel/libffi \
- cairo.2:${PORTSDIR}/graphics/cairo
+LIB_DEPENDS= ffi.5:${PORTSDIR}/devel/libffi
USE_BZIP2= yes
GNU_CONFIGURE= yes
@@ -38,10 +37,9 @@ MAKE_ENV= HOME=${WRKDIR}
MAN1= g-ir-compiler.1 g-ir-generate.1 g-ir-scanner.1
-.include <bsd.port.pre.mk>
post-patch:
- @${REINPLACE_CMD} -e 's|'cc'|'${CC:Q}'|g' \
+ @${REINPLACE_CMD} -e "s|'cc'|'${CC:Q:C/[[:space:]]+/', '/g}'|g" \
${WRKSRC}/giscanner/sourcescanner.py
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>