[Midnightbsd-cvs] mports: Makefile: The linux-opera port was setting the path to the
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Apr 10 13:23:51 EDT 2008
Log Message:
-----------
The linux-opera port was setting the path to the fakedir for the opera jar file used with java runtimes.
This corrects the issue found on magus.
Modified Files:
--------------
mports/www/linux-opera:
Makefile (r1.7 -> r1.8)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/www/linux-opera/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -L www/linux-opera/Makefile -L www/linux-opera/Makefile -u -r1.7 -r1.8
--- www/linux-opera/Makefile
+++ www/linux-opera/Makefile
@@ -8,6 +8,7 @@
PORTNAME= opera
PORTVERSION= ${OPERA_VER}.${OPERA_DATE}
+PORTREVISION= 1
CATEGORIES= www linux
MASTER_SITES= ftp://ftp.opera.com/pub/opera/linux/${OPERA_VER:S/.//}/final/en/i386/static/ \
ftp://ftp.sunet.se/pub/www/clients/Opera/linux/${OPERA_VER:S/.//}/final/en/i386/static/ \
@@ -63,5 +64,10 @@
--exec_prefix=${DATADIR}/bin \
--plugindir=${DATADIR}/plugins)
+# We must make sure that the correct java jar file is used after installation.
+post-fake:
+ ${REINPLACE_CMD} -e 's|file://${FAKE_DESTDIR}${LOCALBASE}/share/linux-opera/java/opera.jar|file://${LOCALBASE}/share/linux-opera/java/opera.jar|g' \
+ ${FAKE_DESTDIR}${LOCALBASE}/share/linux-opera/java/opera.policy
+
.include <bsd.port.mk>
More information about the Midnightbsd-cvs
mailing list