summaryrefslogtreecommitdiffstats
path: root/devel/gobject-introspection/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-06-29 03:13:13 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-06-29 03:13:13 +0800
commit6082eee5b4eb0829395734c9ba3eb7b1de94ff29 (patch)
tree18258c8a7163dd02e005cbba843fa93483687e50 /devel/gobject-introspection/Makefile
parentc74aff62476975c1258c270860e9b97b2bf7fb43 (diff)
downloadmarcuscom-ports-6082eee5b4eb0829395734c9ba3eb7b1de94ff29.tar.gz
marcuscom-ports-6082eee5b4eb0829395734c9ba3eb7b1de94ff29.tar.zst
marcuscom-ports-6082eee5b4eb0829395734c9ba3eb7b1de94ff29.zip
Don't confuse clang and cl (MS pre-processor) [1] also fix another instance of this.
While here make sure we default to the standard compiler cc and not accidently use gcc. Obtained from: GNOME git [1] git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18603 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gobject-introspection/Makefile')
-rw-r--r--devel/gobject-introspection/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/gobject-introspection/Makefile b/devel/gobject-introspection/Makefile
index 7366af636..792656a61 100644
--- a/devel/gobject-introspection/Makefile
+++ b/devel/gobject-introspection/Makefile
@@ -4,6 +4,7 @@
PORTNAME= gobject-introspection
PORTVERSION= 1.36.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
@@ -24,13 +25,16 @@ USE_PYTHON= -2.7
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE=yes
-CPPFLAGS+= -I${LOCALBASE}/include
+CPPFLAGS+= -I${LOCALBASE}/include -Wnocast-align
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ARGS= --disable-tests
# Force it to put the .cache in ${WRKSRC} instead of ~/.cache. ports/143260
MAKE_ENV= HOME=${WRKDIR}
MAN1= g-ir-compiler.1 g-ir-generate.1 g-ir-scanner.1
+post-patch:
+ @${REINPLACE_CMD} -e 's|'gcc'|'cc'|g' \
+ ${WRKSRC}/giscanner/dumper.py
+
.include <bsd.port.mk>