Date: Mon, 25 Oct 2010 17:12:16 -0400 From: Kris Moore <kris@pcbsd.org> To: freebsd-gecko@freebsd.org Subject: www/libxul compile problem with alt LOCALBASE Message-ID: <4CC5F2B0.5010500@pcbsd.org>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------010904090007060700010002 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey, ran into this error when trying to compile libxul with a nonstandard LOCALBASE: - -------------------------------------------------------------------------------------------------------- gmake[5]: Entering directory `/usr/local/pbi/firefox-amd64.wrkdir/usr/ports/www/libxul/work/mozilla-1.9.2/js/src/config/mkdepend' cppsetup.c cc -o host_cppsetup.o -c -O2 -pipe -fno-strict-aliasing -DXP_UNIX -O3 -DINCLUDEDIR=\"%%LOCALBASE%%/include\" -DOBJSUFFIX=\".o\" - -I/usr/local/include -DPREINCDIR=\"include\" -I. -I. - -I../../../../dist/include -I../../../../dist/include/nsprpub - -I/usr/local/pbi/firefox-amd64/include/nspr - -I/usr/local/pbi/firefox-amd64/include/nspr cppsetup.c include.c In file included from cppsetup.c:29: def.h:30:21: error: X11/Xos.h: No such file or directory def.h:31:28: error: X11/Xfuncproto.h: No such file or directory cc -o host_include.o -c -O2 -pipe -fno-strict-aliasing -DXP_UNIX -O3 - -DINCLUDEDIR=\"%%LOCALBASE%%/include\" -DOBJSUFFIX=\".o\" - -I/usr/local/include -DPREINCDIR=\"include\" -I. -I. - -I../../../../dist/include -I../../../../dist/include/nsprpub - -I/usr/local/pbi/firefox-amd64/include/nspr - -I/usr/local/pbi/firefox-amd64/include/nspr include.c gmake[5]: *** [host_cppsetup.o] Error 1 gmake[5]: *** Waiting for unfinished jobs.... In file included from include.c:30: def.h:30:21: error: X11/Xos.h: No such file or directory def.h:31:28: error: X11/Xfuncproto.h: No such file or directory gmake[5]: *** [host_include.o] Error 1 - --------------------------------------------------------------------------------------------------------------- The attached small patch fixes the issue, would somebody care to commit? Thanks! - -- Kris Moore PC-BSD Software iXsystems -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJMxfKwAAoJEDv6T4U6J2HSxt4H/ik6i1RZbSidsHxem0UL7jKT Efdwy6/0+aJ6FgrdiqsYVHmnmu+PoOXu/5V+lvXIT3gyqSmI1acvO1ZJZlh0RXK9 dF+JZpPPUCfRpjHS1CjioOmDNLvK3u2YsJtfoxdw+ToTcJDgRBfuMaUGV2bkNH3w RtSUVR07aIiuP0X4M7QZoxGrQyihn7f60F8Aaez4L6IbU2sFnzoG6tageNIl63EN 4DXgW6/tlIqf3zs1Kng5MFPzcCtFSDknzmVpCH+76PFnB010jWqujDHEiF+7sCEt e5iYPBV+qrykA2y/BmS5ihE2adWoPU0AHxr1G27r/G4bdXUQ9bXEi1amdj9qMMI= =8MBK -----END PGP SIGNATURE----- --------------010904090007060700010002 Content-Type: text/plain; name="libxul-patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="libxul-patch" --- Makefile.orig 2010-10-25 13:22:37.000000000 -0700 +++ Makefile 2010-10-25 13:43:35.000000000 -0700 @@ -73,6 +73,8 @@ ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS:C/-pthread/${GECKO_PTHREAD_LIBS}/}|' \ ${WRKSRC}/storage/build/Makefile.in \ ${WRKSRC}/db/sqlite3/src/Makefile.in + ${REINPLACE_CMD} -e 's|/usr/local/include|${LOCALBASE}/include|' \ + ${WRKSRC}/js/src/config/mkdepend/Makefile.in @${REINPLACE_CMD} -e 's|-lc_r|${PTHREAD_LIBS}|g ; \ s|-lpthread|${PTHREAD_LIBS}|g ; \ s|echo aout|echo elf|g ; \ --------------010904090007060700010002--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CC5F2B0.5010500>