Date: Tue, 4 Sep 2012 20:48:28 GMT From: svn-freebsd-gecko@chruetertee.ch To: freebsd-gecko@freebsd.org Subject: [SVN-Commit] r983 - in trunk: devel/nspr security/nss Message-ID: <201209042048.q84KmSkj038660@trillian.chruetertee.ch>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Tue Sep 4 20:48:28 2012 New Revision: 983 Log: use compile time debugging WITH_DEBUG Modified: trunk/devel/nspr/Makefile trunk/security/nss/Makefile Modified: trunk/devel/nspr/Makefile ============================================================================== --- trunk/devel/nspr/Makefile Tue Sep 4 07:38:14 2012 (r982) +++ trunk/devel/nspr/Makefile Tue Sep 4 20:48:28 2012 (r983) @@ -21,8 +21,7 @@ MAKE_JOBS_SAFE= yes GNU_CONFIGURE= yes CONFIGURE_SCRIPT=../configure -CONFIGURE_ARGS= --disable-debug \ - --with-pthreads +CONFIGURE_ARGS= --with-pthreads CONFIGURE_ENV= BSD_PTHREAD_LIBS=${PTHREAD_LIBS} MAKE_ENV= DIST=${WRKSRC}/dist @@ -31,6 +30,10 @@ .include <bsd.port.pre.mk> +.if !defined(WITH_DEBUG) +CONFIGURE_ARGS+=--disable-debug +.endif + post-patch: @${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},g ; s,echo aout,echo elf,g' ${WRKSRC}/${CONFIGURE_SCRIPT} Modified: trunk/security/nss/Makefile ============================================================================== --- trunk/security/nss/Makefile Tue Sep 4 07:38:14 2012 (r982) +++ trunk/security/nss/Makefile Tue Sep 4 20:48:28 2012 (r983) @@ -31,7 +31,7 @@ USE_GMAKE= yes USE_PERL5_BUILD=yes MAKE_ENV= BSD_LDOPTS="${PTHREAD_LIBS} -L${LOCALBASE}/lib" \ - BUILD_OPT=1 NSS_ENABLE_ECC=1 NSS_USE_SYSTEM_SQLITE=1 + NSS_ENABLE_ECC=1 NSS_USE_SYSTEM_SQLITE=1 ALL_TARGET= nss_build_all CFLAGS+= -I${LOCALBASE}/include/nspr -L${LOCALBASE}/lib @@ -48,6 +48,10 @@ p7verify pk12util rsaperf shlibsign signtool signver \ ssltap strsclnt symkeyutil vfychain vfyserv +.if !defined(WITH_DEBUG) +BUILD_OPT=1 +.endif + check regression-test test: cd ${WRKSRC}/tests; \ ${SETENV} PATH="${BINS}/bin:${PATH}" \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209042048.q84KmSkj038660>