summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-03-30 11:15:21 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-03-30 11:15:21 +0800
commit2c8d06d8886a58afa10d7d30f14a22784eb604d9 (patch)
treedf91ccdb8525b898ab6ced1eb146552e6c039515
parent7034b06128b45aeede1b4afc1892a7e70b1b3cc7 (diff)
downloadmarcuscom-ports-2c8d06d8886a58afa10d7d30f14a22784eb604d9.tar
marcuscom-ports-2c8d06d8886a58afa10d7d30f14a22784eb604d9.tar.gz
marcuscom-ports-2c8d06d8886a58afa10d7d30f14a22784eb604d9.tar.bz2
marcuscom-ports-2c8d06d8886a58afa10d7d30f14a22784eb604d9.tar.lz
marcuscom-ports-2c8d06d8886a58afa10d7d30f14a22784eb604d9.tar.xz
marcuscom-ports-2c8d06d8886a58afa10d7d30f14a22784eb604d9.tar.zst
marcuscom-ports-2c8d06d8886a58afa10d7d30f14a22784eb604d9.zip
Add compile-tested support for libxul.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12192 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--www/epiphany/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile
index 62750d325..1c6919dfb 100644
--- a/www/epiphany/Makefile
+++ b/www/epiphany/Makefile
@@ -3,7 +3,7 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/www/epiphany/Makefile,v 1.193 2009/03/14 17:20:10 marcus Exp $
+# $MCom: ports/www/epiphany/Makefile,v 1.194 2009/03/16 07:09:20 kwm Exp $
#
PORTNAME= epiphany
@@ -60,9 +60,10 @@ EXTRA_LIBS+= `pkg-config --libs WebKitGtk`
CONFLICTS= epiphany-[1-9]*
PLIST_SUB+= GECKO="@comment "
.else
-USE_GECKO+= firefox
+USE_GECKO+= firefox libxul
CONFIGURE_ARGS+= --with-gecko=${GECKO} \
- --with-engine=mozilla
+ --with-engine=mozilla \
+ --with-gecko-home=${LOCALBASE}/lib/${GECKO}
.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
CONFLICTS= epiphany-webkit-[1-9]*
PLIST_SUB+= GECKO=""
@@ -94,7 +95,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|WebKitGdk|WebKitGtk|' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
's|-lpthread|${PTHREAD_LIBS}|g'
- @${REINPLACE_CMD} -e 's|execinfo.h|#|g' \
+ @${REINPLACE_CMD} -e 's|execinfo.h|#|g ; \
+ s|-ldl"$$|"|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/lib/mozilla/plugins"|/lib/browser_plugins/symlinks/gecko18"|' \
${WRKSRC}/embed/mozilla/mozilla-embed-single.cpp