diff options
author | beat <beat@FreeBSD.org> | 2010-08-08 16:58:16 +0800 |
---|---|---|
committer | beat <beat@FreeBSD.org> | 2010-08-08 16:58:16 +0800 |
commit | 79a935d5ddd4a46037d9fb8897bfeec779158970 (patch) | |
tree | cc306176da5617706995572db9ee37cebf71d399 /x11-toolkits | |
parent | 03ec7c0f8b776fe02d07654276bc4932bea38874 (diff) | |
download | freebsd-ports-gnome-79a935d5ddd4a46037d9fb8897bfeec779158970.tar.gz freebsd-ports-gnome-79a935d5ddd4a46037d9fb8897bfeec779158970.tar.zst freebsd-ports-gnome-79a935d5ddd4a46037d9fb8897bfeec779158970.zip |
- Fix build with libxul 1.9.2
- Bump PORTREVISION after libxul update
PR: ports/149044
Submitted by: decke@
Expr-run by: pav@
Approved by: portmgr (pav)
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/py-gnome-extras/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/x11-toolkits/py-gnome-extras/Makefile b/x11-toolkits/py-gnome-extras/Makefile index 4eadfeda2c62..26f258cc261e 100644 --- a/x11-toolkits/py-gnome-extras/Makefile +++ b/x11-toolkits/py-gnome-extras/Makefile @@ -8,7 +8,7 @@ PORTNAME= gnome-extras PORTVERSION= 2.25.3 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= x11-toolkits python gnome MASTER_SITES= GNOME MASTER_SITE_SUBDIR= sources/gnome-python-extras/${PORTVERSION:C/..$//} @@ -44,13 +44,17 @@ DOCSDIR= ${WRKSRC}/share/doc/py-gnome-extras .include <bsd.port.pre.mk> -.if defined(GECKO) && ${GECKO:Mlibxul}!="" -CONFIGURE_ARGS+= --with-gtkmozembed=mozilla -.else +.if defined(GECKO) CONFIGURE_ARGS+= --with-gtkmozembed=${GECKO} .endif post-patch: +.if ${GECKO}=="libxul" + @${REINPLACE_CMD} -e 's|xulrunner|libxul|' \ + ${WRKSRC}/configure +.endif + @${REINPLACE_CMD} -e 's|$mozpackage-gtkmozembed|$mozpackage|' \ + ${WRKSRC}/configure @${FIND} ${WRKSRC}/docs -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ -e 's|^HTML_DIR =.*|HTML_DIR = ${DOCSDIR}|g' |