diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/mozilla/Makefile.common | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/www/mozilla/Makefile.common b/www/mozilla/Makefile.common index dc95ffb3b..7f02746a5 100644 --- a/www/mozilla/Makefile.common +++ b/www/mozilla/Makefile.common @@ -4,7 +4,7 @@ # Whom: Michael Johnson <ahze@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/www/mozilla/Makefile.common,v 1.9 2005/11/23 00:43:14 ahze Exp $ +# $MCom: ports/www/mozilla/Makefile.common,v 1.10 2005/11/23 01:06:14 ahze Exp $ # Ports can use the following: # @@ -91,8 +91,7 @@ JPI_LIST?=\ PKGCONFIG_FILES?= ${MOZILLA}-gtkmozembed ${MOZILLA}-js \ ${MOZILLA}-xpcom ${MOZILLA}-plugin -CPPFLAGS+= -I${WRKSRC}/directory/c-sdk/ldap/include \ - -I${X11BASE}/include -I${LOCALBASE}/include +CPPFLAGS+= -I${X11BASE}/include CFLAGS+= ${PTHREAD_CFLAGS} LDFLAGS+= -L${X11BASE}/lib -Wl,-rpath,${PREFIX}/lib/${MOZ_RPATH} LIBS+= ${PTHREAD_LIBS} @@ -230,6 +229,10 @@ gecko-post-patch: s|"%FULL_NSPR_CFLAGS%"|`nspr-config --cflags`|g ; \ s|"%FULL_NSPR_LIBS%"|`nspr-config --libs`|g' \ ${WRKSRC}/build/unix/mozilla-config.in + @${REINPLACE_CMD} -e 's|<iconv.h>|\"${LOCALBASE}/include/iconv.h\"|g' \ + ${WRKSRC}/configure \ + ${WRKSRC}/intl/uconv/native/nsNativeUConvService.cpp \ + ${WRKSRC}/xpcom/io/nsNativeCharsetUtils.cpp @${REINPLACE_CMD} -e 's|%%MOZILLA%%|${MOZILLA}|g' \ ${WRKSRC}/config/autoconf.mk.in @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' \ |