From owner-freebsd-gecko@FreeBSD.ORG Tue Sep 4 20:48:41 2012 Return-Path: Delivered-To: freebsd-gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7EF5B106564A for ; Tue, 4 Sep 2012 20:48:41 +0000 (UTC) (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: from trillian.chruetertee.ch (trillian.chruetertee.ch [217.150.245.56]) by mx1.freebsd.org (Postfix) with ESMTP id 0A0C78FC0A for ; Tue, 4 Sep 2012 20:48:40 +0000 (UTC) Received: from trillian.chruetertee.ch (trillian [217.150.245.56]) by trillian.chruetertee.ch (8.14.4/8.14.3) with ESMTP id q84KmXFC038919 for ; Tue, 4 Sep 2012 20:48:33 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: (from www@localhost) by trillian.chruetertee.ch (8.14.4/8.14.3/Submit) id q84KmSkj038660 for freebsd-gecko@freebsd.org; Tue, 4 Sep 2012 20:48:28 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Date: Tue, 4 Sep 2012 20:48:28 GMT Message-Id: <201209042048.q84KmSkj038660@trillian.chruetertee.ch> X-Authentication-Warning: trillian.chruetertee.ch: www set sender to svn-freebsd-gecko@chruetertee.ch using -f From: svn-freebsd-gecko@chruetertee.ch To: freebsd-gecko@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [SVN-Commit] r983 - in trunk: devel/nspr security/nss X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-gecko@freebsd.org List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2012 20:48:41 -0000 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 +.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}" \