diff options
-rw-r--r-- | x11-toolkits/py-gnome-extras/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/x11-toolkits/py-gnome-extras/Makefile b/x11-toolkits/py-gnome-extras/Makefile index 762b2b6c0ff9..cfb1400e0166 100644 --- a/x11-toolkits/py-gnome-extras/Makefile +++ b/x11-toolkits/py-gnome-extras/Makefile @@ -25,13 +25,12 @@ LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell \ gksuui1.0.1:${PORTSDIR}/sysutils/libgksuui \ gdl-1.0:${PORTSDIR}/x11-toolkits/gdl -USE_GECKO= firefox xulrunner mozilla +USE_GECKO= firefox libxul xulrunner mozilla USE_BZIP2= yes USE_GMAKE= yes USE_PYTHON= yes USE_GNOME= gnomehack libgtkhtml pygnome2 libgda4 GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-gtkmozembed=${GECKO} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" @@ -46,6 +45,12 @@ DOCSDIR= ${WRKSRC}/share/doc/py-gnome-extras .include <bsd.port.pre.mk> .include "${PORTSDIR}/www/mozilla/bsd.gecko.mk" +.if defined(GECKO) && ${GECKO:Mlibxul}!="" +CONFIGURE_ARGS+= --with-gtkmozembed=xulrunner +.else +CONFIGURE_ARGS+= --with-gtkmozembed=${GECKO} +.endif + post-patch: @${FIND} ${WRKSRC}/docs -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ -e 's|^HTML_DIR =.*|HTML_DIR = ${DOCSDIR}|g' |