diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-02-13 07:30:21 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-02-13 07:30:21 +0000 |
commit | d4ea8b97e8804704d00c66344f1233bda94e93d6 (patch) | |
tree | 0b3d0b2a062c27e6ed72da5daca160d669849171 /www/firefox-devel | |
parent | f8ccd89817aaba575c95aa2b26d9e53a59b37eb4 (diff) | |
download | ports-d4ea8b97e8804704d00c66344f1233bda94e93d6.tar.gz ports-d4ea8b97e8804704d00c66344f1233bda94e93d6.zip |
Notes
Diffstat (limited to 'www/firefox-devel')
-rw-r--r-- | www/firefox-devel/Makefile | 8 | ||||
-rw-r--r-- | www/firefox-devel/files/patch-configure | 38 |
2 files changed, 41 insertions, 5 deletions
diff --git a/www/firefox-devel/Makefile b/www/firefox-devel/Makefile index cd389ba7cae1..90c95bf19f59 100644 --- a/www/firefox-devel/Makefile +++ b/www/firefox-devel/Makefile @@ -25,7 +25,8 @@ BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ freetype-config:${PORTSDIR}/print/freetype2 ALL_TARGET= default -CONFIGURE_ENV= WITH_GTK2=yes +CONFIGURE_ENV= WITH_GTK2=yes \ + LOCALBASE=${LOCALBASE} FAKEDIR= ${WRKDIR}/fake FAKESUBDIR= ${FAKEDIR}/lib/${PORTNAME} HAS_CONFIGURE= yes @@ -77,7 +78,7 @@ LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/Xft CPPFLAGS+= -I${X11BASE}/include -I${LOCALBASE}/include CFLAGS+= ${PTHREAD_CFLAGS} -LDFLAGS+= -L${X11BASE}/lib -L${LOCALBASE}/lib +LDFLAGS+= -L${X11BASE}/lib LIBS+= ${PTHREAD_LIBS} EXTRA_SCRIPTS= ${PORTNAME}.rb @@ -145,7 +146,6 @@ pre-install: .for ii in firefox Firefox firefox-config ${EXTRA_SCRIPTS} @${ECHO_CMD} bin/${ii} >> ${PLIST} .endfor - @${ECHO_CMD} lib/firefox/lib/mozilla-1.6/libnspr4.so.1 >> ${PLIST} @cd ${FAKEDIR} && ${FIND} * ! -type d | ${SORT} >> ${PLIST}; \ ${FIND} * -type d -empty | ${SORT} | ${SED} -e \ "s:^:@exec ${MKDIR} %D/:" -e "s:$$: || true:" >> ${PLIST}; \ @@ -174,8 +174,6 @@ post-install: ${PERL} -pi -e 's|${FAKEDIR}|${PREFIX}|g' ${LOCAL_PREFIX}/bin/firefox-config ${FIND} ${LOCAL_PREFIX}/lib/pkgconfig -type f | ${XARGS} ${PERL} -pi -e \ 's|${FAKEDIR}|${PREFIX}|g' - ${LN} -sf ${LOCAL_PREFIX}/lib/mozilla-1.6/libnspr4.so \ - ${LOCAL_PREFIX}/lib/mozilla-1.6/libnspr4.so.1 -if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \ for jpi in ${JPI_LIST}; do \ if [ -f $${jpi} ]; then \ diff --git a/www/firefox-devel/files/patch-configure b/www/firefox-devel/files/patch-configure new file mode 100644 index 000000000000..9e60372adb33 --- /dev/null +++ b/www/firefox-devel/files/patch-configure @@ -0,0 +1,38 @@ +--- configure.orig Fri Feb 13 01:06:29 2004 ++++ configure Fri Feb 13 01:07:17 2004 +@@ -9181,7 +9181,7 @@ + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-liconv $LIBS" ++LIBS="-L$LOCALBASE/lib -liconv $LIBS" + cat > conftest.$ac_ext <<EOF + #line 9187 "configure" + #include "confdefs.h" +@@ -9212,7 +9212,7 @@ + fi + if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 +- _ICONV_LIBS="$_ICONV_LIBS -liconv" ++ _ICONV_LIBS="$_ICONV_LIBS -L$LOCALBASE/lib -liconv" + else + echo "$ac_t""no" 1>&6 + echo $ac_n "checking for libiconv in -liconv""... $ac_c" 1>&6 +@@ -9222,7 +9222,7 @@ + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-liconv $LIBS" ++LIBS="-L$LOCALBASE/lib -liconv $LIBS" + cat > conftest.$ac_ext <<EOF + #line 9228 "configure" + #include "confdefs.h" +@@ -9253,7 +9253,7 @@ + fi + if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 +- _ICONV_LIBS="$_ICONV_LIBS -liconv" ++ _ICONV_LIBS="$_ICONV_LIBS -L$LOCALBASE/lib -liconv" + else + echo "$ac_t""no" 1>&6 + fi |