aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/galeon/Makefile19
-rw-r--r--www/galeon2/Makefile19
-rw-r--r--www/skipstone/Makefile3
-rw-r--r--www/skipstone/files/patch-aa2
-rw-r--r--x11-fm/nautilus/Makefile6
-rw-r--r--x11-fm/nautilus2/Makefile6
6 files changed, 27 insertions, 28 deletions
diff --git a/www/galeon/Makefile b/www/galeon/Makefile
index 0c1905804003..1bf7e1f689ec 100644
--- a/www/galeon/Makefile
+++ b/www/galeon/Makefile
@@ -18,33 +18,30 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= sobomax@FreeBSD.org
+BUILD_DEPENDS= ${X11BASE}/include/mozilla/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers \
+ ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
LIB_DEPENDS= glade.4:${PORTSDIR}/devel/libglade
RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
-WITH_FULL_MOZILLA= "I donno why, but it doesn't work with M18-embedded"
+WITH_FULL_MOZILLA= "I donno why, but it doesn't work with 0.7-embedded"
.if !defined(WITH_FULL_MOZILLA)
MOZILLA= mozilla-embedded
-BUILD_DEPENDS+= ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
-MOZHEADERS= ${X11BASE}/include/${MOZILLA}
-MOZLIBS= ${X11BASE}/lib/${MOZILLA}
.else
MOZILLA= mozilla
-BUILD_DEPENDS+= /nonexistent:${PORTSDIR}/www/${MOZILLA}:build
-MOZHEADERS= ${WRKDIRPREFIX}${.CURDIR}/../../www/mozilla/work/mozilla/dist/include
-MOZLIBS= ${WRKDIRPREFIX}${.CURDIR}/../../www/mozilla/work/mozilla/dist/lib
.endif
USE_X_PREFIX= yes
USE_NEWGCC= yes
USE_GNOME= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-mozilla-includes="${MOZHEADERS}" \
- --with-mozilla-libs="${MOZLIBS}"
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+CONFIGURE_ARGS= --with-mozilla-includes="${X11BASE}/include/mozilla" \
+ --with-mozilla-libs="${X11BASE}/lib/${MOZILLA}"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
+ -D_REENTRANT -D_THREAD_SAFE -fno-rtti" \
LIBS="-L${LOCALBASE}/lib -L${WRKSRC} -pthread -lgcc_r"
-CFLAGS+= -D_REENTRANT -D_THREAD_SAFE -fno-rtti
+#CFLAGS+= -D_REENTRANT -D_THREAD_SAFE -fno-rtti
post-extract:
diff --git a/www/galeon2/Makefile b/www/galeon2/Makefile
index 0c1905804003..1bf7e1f689ec 100644
--- a/www/galeon2/Makefile
+++ b/www/galeon2/Makefile
@@ -18,33 +18,30 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= sobomax@FreeBSD.org
+BUILD_DEPENDS= ${X11BASE}/include/mozilla/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers \
+ ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
LIB_DEPENDS= glade.4:${PORTSDIR}/devel/libglade
RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
-WITH_FULL_MOZILLA= "I donno why, but it doesn't work with M18-embedded"
+WITH_FULL_MOZILLA= "I donno why, but it doesn't work with 0.7-embedded"
.if !defined(WITH_FULL_MOZILLA)
MOZILLA= mozilla-embedded
-BUILD_DEPENDS+= ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
-MOZHEADERS= ${X11BASE}/include/${MOZILLA}
-MOZLIBS= ${X11BASE}/lib/${MOZILLA}
.else
MOZILLA= mozilla
-BUILD_DEPENDS+= /nonexistent:${PORTSDIR}/www/${MOZILLA}:build
-MOZHEADERS= ${WRKDIRPREFIX}${.CURDIR}/../../www/mozilla/work/mozilla/dist/include
-MOZLIBS= ${WRKDIRPREFIX}${.CURDIR}/../../www/mozilla/work/mozilla/dist/lib
.endif
USE_X_PREFIX= yes
USE_NEWGCC= yes
USE_GNOME= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-mozilla-includes="${MOZHEADERS}" \
- --with-mozilla-libs="${MOZLIBS}"
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+CONFIGURE_ARGS= --with-mozilla-includes="${X11BASE}/include/mozilla" \
+ --with-mozilla-libs="${X11BASE}/lib/${MOZILLA}"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
+ -D_REENTRANT -D_THREAD_SAFE -fno-rtti" \
LIBS="-L${LOCALBASE}/lib -L${WRKSRC} -pthread -lgcc_r"
-CFLAGS+= -D_REENTRANT -D_THREAD_SAFE -fno-rtti
+#CFLAGS+= -D_REENTRANT -D_THREAD_SAFE -fno-rtti
post-extract:
diff --git a/www/skipstone/Makefile b/www/skipstone/Makefile
index f10946cb91bb..e7ed0f8ac310 100644
--- a/www/skipstone/Makefile
+++ b/www/skipstone/Makefile
@@ -12,7 +12,8 @@ MASTER_SITES= http://www.muhri.net/skipstone/
MAINTAINER= eric@osd.bsdi.com
-BUILD_DEPENDS= ${X11BASE}/lib/mozilla-embedded/libgtkembedmoz.so:${PORTSDIR}/www/mozilla-embedded
+BUILD_DEPENDS= ${X11BASE}/include/mozilla/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers \
+ ${X11BASE}/lib/mozilla-embedded/libgtkembedmoz.so:${PORTSDIR}/www/mozilla-embedded
RUN_DEPENDS= ${X11BASE}/lib/mozilla-embedded/libgtkembedmoz.so:${PORTSDIR}/www/mozilla-embedded
USE_GTK= yes
diff --git a/www/skipstone/files/patch-aa b/www/skipstone/files/patch-aa
index 9e16b8701e86..54eb19aca7c1 100644
--- a/www/skipstone/files/patch-aa
+++ b/www/skipstone/files/patch-aa
@@ -8,7 +8,7 @@
-MOZILLA_INCLUDES = -I/usr/include/mozilla -I/usr/local/include/mozilla
-MOZILLA_LIBS = -L/usr/lib/mozilla -L/usr/local/lib/mozilla -lgtkembedmoz -lplds4 -lplc4 -lnspr4 -lgtksuperwin -lxpcom
-+MOZILLA_INCLUDES = -I${X11BASE}/include/mozilla-embedded
++MOZILLA_INCLUDES = -I${X11BASE}/include/mozilla
+MOZILLA_LIBS = -L${X11BASE}/lib/mozilla-embedded -lgtkembedmoz -lplds4 -lplc4 -lnspr4 -lgtksuperwin -lxpcom
#my stuff
diff --git a/x11-fm/nautilus/Makefile b/x11-fm/nautilus/Makefile
index 8db2a7b051b6..8a803bdcdbfe 100644
--- a/x11-fm/nautilus/Makefile
+++ b/x11-fm/nautilus/Makefile
@@ -22,7 +22,9 @@ LIB_DEPENDS= medusa.0:${PORTSDIR}/sysutils/medusa \
.if defined(WITH_MOZILLA)
MOZILLA= mozilla-embedded
-BUILD_DEPENDS= ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
+BUILD_DEPENDS= ${X11BASE}/include/mozilla/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers \
+ ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
+RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
.endif
USE_GMAKE= yes
@@ -38,7 +40,7 @@ CONFIGURE_ARGS= --with-freetype2-lib-place=${LOCALBASE}/lib \
.if defined(WITH_MOZILLA)
CONFIGURE_ARGS+= --with-mozilla-lib-place=${X11BASE}/lib/${MOZILLA} \
- --with-mozilla-include-place=${X11BASE}/include/${MOZILLA}
+ --with-mozilla-include-place=${X11BASE}/include/mozilla
MOZILLA_LIBS= "-L${X11BASE}/lib/${MOZILLA}"
PLIST_SUB+= MOZILLA:=""
.else
diff --git a/x11-fm/nautilus2/Makefile b/x11-fm/nautilus2/Makefile
index 8db2a7b051b6..8a803bdcdbfe 100644
--- a/x11-fm/nautilus2/Makefile
+++ b/x11-fm/nautilus2/Makefile
@@ -22,7 +22,9 @@ LIB_DEPENDS= medusa.0:${PORTSDIR}/sysutils/medusa \
.if defined(WITH_MOZILLA)
MOZILLA= mozilla-embedded
-BUILD_DEPENDS= ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
+BUILD_DEPENDS= ${X11BASE}/include/mozilla/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers \
+ ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
+RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
.endif
USE_GMAKE= yes
@@ -38,7 +40,7 @@ CONFIGURE_ARGS= --with-freetype2-lib-place=${LOCALBASE}/lib \
.if defined(WITH_MOZILLA)
CONFIGURE_ARGS+= --with-mozilla-lib-place=${X11BASE}/lib/${MOZILLA} \
- --with-mozilla-include-place=${X11BASE}/include/${MOZILLA}
+ --with-mozilla-include-place=${X11BASE}/include/mozilla
MOZILLA_LIBS= "-L${X11BASE}/lib/${MOZILLA}"
PLIST_SUB+= MOZILLA:=""
.else