[Midnightbsd-cvs] mports: www/opera: Reintroduce static opera option.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Oct 20 11:44:17 EDT 2007


Log Message:
-----------
Reintroduce static opera option.

Modified Files:
--------------
    mports/www/opera:
        Makefile (r1.12 -> r1.13)
        distinfo (r1.8 -> r1.9)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/www/opera/Makefile,v
retrieving revision 1.12
retrieving revision 1.13
diff -Lwww/opera/Makefile -Lwww/opera/Makefile -u -r1.12 -r1.13
--- www/opera/Makefile
+++ www/opera/Makefile
@@ -8,6 +8,7 @@
 
 PORTNAME=	opera
 PORTVERSION=	${OPERA_VER}.${OPERA_DATE}
+PORTREVISION=	1
 CATEGORIES=	www ipv6
 MASTER_SITES=	ftp://opera.inode.at/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/${OPERA_LIB}/ \
 		http://gd.tuwien.ac.at/infosys/browsers/opera/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/${OPERA_LIB}/ \
@@ -48,9 +49,10 @@
 NO_BUILD=	yes
 NO_FILTER_SHLIBS=yes
 
-OPTIONS=	ASPELL	"Use the aspell library for spell checking"	on
+OPTIONS=	ASPELL	"Use the aspell library for spell checking"	on \
+		SHARED	"Use a shared QT library (instead of static)" 	on
 
-.if exists(${X11BASE}/lib/libqt-mt.prl)
+.if exists(${LOCALBASE}/lib/libqt-mt.prl)
 QT_PRESENT=	on
 .else
 QT_PRESENT=	off
@@ -64,8 +66,16 @@
 LIB_DEPENDS+=	aspell.16:${PORTSDIR}/textproc/aspell
 .endif
 
+.if defined(WITH_SHARED)
 OPERA_LIB=	shared
 LIB_DEPENDS+=	qt-mt:${PORTSDIR}/x11-toolkits/qt33
+.else
+OPERA_LIB=	static
+OPERA_TYPE=	1
+# The static version requires both compat4x and compat5x
+ LIB_DEPENDS+=   z.2:${PORTSDIR}/misc/compat5x
+ LIB_DEPENDS+=   m.2:${PORTSDIR}/misc/compat4x
+.endif
 
 .if ${HAVE_GNOME:Mgnomehier}!=""
 PLIST_SUB+=	GNOME=""
Index: distinfo
===================================================================
RCS file: /home/cvs/mports/www/opera/distinfo,v
retrieving revision 1.8
retrieving revision 1.9
diff -Lwww/opera/distinfo -Lwww/opera/distinfo -u -r1.8 -r1.9
--- www/opera/distinfo
+++ www/opera/distinfo
@@ -1,3 +1,6 @@
+MD5 (opera-9.24-20071015.1-static-qt.i386.freebsd-en.tar.bz2) = 1d6b47c431a5cf405684744f144be251
+SHA256 (opera-9.24-20071015.1-static-qt.i386.freebsd-en.tar.bz2) = 334f744fee13810e6895477ba26b2f2e9a3a88cf99173f2100df0f325942ab02
+SIZE (opera-9.24-20071015.1-static-qt.i386.freebsd-en.tar.bz2) = 6549193
 MD5 (opera-9.24-20071015.4-shared-qt.i386.freebsd-en.tar.bz2) = ac8e536e9327a15dcb8f7dc8fd6c5bf1
 SHA256 (opera-9.24-20071015.4-shared-qt.i386.freebsd-en.tar.bz2) = c0bc7497a8114f13bda60fe14c9dd6ad732c1311cdc8d55597d67b09fe389593
 SIZE (opera-9.24-20071015.4-shared-qt.i386.freebsd-en.tar.bz2) = 5123101


More information about the Midnightbsd-cvs mailing list