Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jul 2011 22:37:55 GMT
From:      svn-freebsd-gecko@chruetertee.ch
To:        freebsd-gecko@freebsd.org
Subject:   [SVN-Commit] r601 - branches/experimental/www/seamonkey
Message-ID:  <201107292237.p6TMbtSA050355@trillian.chruetertee.ch>

next in thread | raw e-mail | index | archive | help
Author: flo
Date: Fri Jul 29 22:37:55 2011
New Revision: 601

Log:
forgot to committ this file

Modified:
   branches/experimental/www/seamonkey/Makefile

Modified: branches/experimental/www/seamonkey/Makefile
==============================================================================
--- branches/experimental/www/seamonkey/Makefile	Fri Jul 29 22:32:35 2011	(r600)
+++ branches/experimental/www/seamonkey/Makefile	Fri Jul 29 22:37:55 2011	(r601)
@@ -19,6 +19,7 @@
 LIB_DEPENDS=    execinfo.1:${PORTSDIR}/devel/libexecinfo \
                 event-1.4:${PORTSDIR}/devel/libevent
 
+USE_AUTOTOOLS=	autoconf213
 CONFLICTS_BUILD=	spidermonkey-1.[0-7]*
 CONFLICTS_INSTALL=	seamonkey-2.0*
 USE_BZIP2=	yes
@@ -111,6 +112,10 @@
 		notify.1:${PORTSDIR}/devel/libnotify
 .endif
 
+.if ${ARCH} == amd64 || ${ARCH} == i386
+BUILD_DEPENDS+=	yasm:${PORTSDIR}/devel/yasm
+.endif
+
 .if defined(WITH_LIGHTNING)
 MOZ_OPTIONS+=	--enable-calendar
 MOZ_MK_OPTIONS+=	MOZ_CO_PROJECT=calendar
@@ -132,8 +137,8 @@
 	@${REINPLACE_CMD} -e '/accessibility.typeaheadfind.enablesound/s/true/false/' \
 		${WRKSRC}/mozilla/modules/libpref/src/init/all.js
 	@${REINPLACE_CMD} -e 's|<iconv.h>|\"${LOCALBASE}/include/iconv.h\"|g' \
-		${WRKSRC}/configure \
-		${WRKSRC}/mozilla/configure \
+		${WRKSRC}/configure.in \
+		${WRKSRC}/mozilla/configure.in \
 		${WRKSRC}/mozilla/xpcom/io/nsNativeCharsetUtils.cpp
 	@${REINPLACE_CMD} -e 's|libgnome-2.so.0|libgnome-2.so|' \
 		${WRKSRC}/mozilla/toolkit/xre/nsNativeAppSupportUnix.cpp \
@@ -147,12 +152,16 @@
 		s|-lpthread|${PTHREAD_LIBS}|g ; \
 		s|echo aout|echo elf|g ; \
 		s|/usr/X11R6|${LOCALBASE}|g' \
-		${WRKSRC}/mozilla/js/src/configure \
-		${WRKSRC}/mozilla/configure \
-		${WRKSRC}/configure
+		${WRKSRC}/mozilla/js/src/configure.in \
+		${WRKSRC}/mozilla/configure.in \
+		${WRKSRC}/configure.in
 	@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
 		< ${FILESDIR}/seamonkey.desktop.in > \
 		${WRKDIR}/seamonkey.desktop
+pre-configure:
+	(cd ${WRKSRC} && ${AUTOCONF})
+	(cd ${MOZSRC} && ${AUTOCONF})
+	(cd ${MOZSRC}/js/src/ && ${AUTOCONF})
 
 pre-install:
 	${ECHO_CMD} share/applications/seamonkey.desktop >> ${PLIST}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107292237.p6TMbtSA050355>