diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2006-12-14 12:52:25 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2006-12-14 12:52:25 +0000 |
commit | b17918378c6bb8e216eee6efdbb53a9d7be8e4df (patch) | |
tree | cc9e02eb4ab147695e3415cf2d0ed1daf4f6b55a /lang/see-devel/Makefile | |
parent | ec1924df70bc632cc5ea1fa356bfa9d68a2a7dcc (diff) | |
download | ports-b17918378c6bb8e216eee6efdbb53a9d7be8e4df.tar.gz ports-b17918378c6bb8e216eee6efdbb53a9d7be8e4df.zip |
- Add DEBUG knob
PR: ports/106665
Submitted by: Simun Mikecin <numisemis@yahoo.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=179747
Diffstat (limited to 'lang/see-devel/Makefile')
-rw-r--r-- | lang/see-devel/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lang/see-devel/Makefile b/lang/see-devel/Makefile index 999c9ad8d757..e44eb8455f78 100644 --- a/lang/see-devel/Makefile +++ b/lang/see-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= see PORTVERSION= 2.0.1131 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= lang devel MASTER_SITES= http://www.powerband.net.au/~david.leonard/ \ http://freshmeat.net/redir/see/45974/url_tgz/ @@ -17,7 +17,8 @@ MAINTAINER= numisemis@yahoo.com COMMENT= Simple ECMAScript Engine (SEE) OPTIONS= GC "Use Boehm-Weiser garbage collection package" on \ - OPTIMIZED_CFLAGS "Enable some additional optimizations" off + OPTIMIZED_CFLAGS "Enable some additional optimizations" off \ + SEE_DEBUG "Internal SEE library debugging" off CONFLICTS= see-[0-9]* @@ -38,6 +39,10 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} BROKEN= does not build on 4.x .endif +.if !defined(WITH_SEE_DEBUG) +CFLAGS+= -DNDEBUG +.endif + .if defined(WITH_OPTIMIZED_CFLAGS) CFLAGS+= -O3 -fomit-frame-pointer .endif |