svn commit: r500703 - head/lang/tcl87

Pietro Cerutti gahr at FreeBSD.org
Fri May 3 08:07:58 UTC 2019


Author: gahr
Date: Fri May  3 08:07:57 2019
New Revision: 500703
URL: https://svnweb.freebsd.org/changeset/ports/500703

Log:
  lang/tcl87: do not strip in debug mode
  
  PR:		237712
  Submitted by:	mi@

Modified:
  head/lang/tcl87/Makefile

Modified: head/lang/tcl87/Makefile
==============================================================================
--- head/lang/tcl87/Makefile	Fri May  3 07:53:16 2019	(r500702)
+++ head/lang/tcl87/Makefile	Fri May  3 08:07:57 2019	(r500703)
@@ -3,7 +3,7 @@
 
 PORTNAME=	tcl
 DISTVERSION=	8.7a1
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	lang
 MASTER_SITES=	SF/tcl/Tcl/${DISTVERSION} \
 		TCLTK/tcl8_7
@@ -18,6 +18,8 @@ LICENSE_NAME=	Tcl/Tk License
 LICENSE_FILE=	${WRKSRC}/../license.terms
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
+EXTRACT_AFTER_ARGS=	--exclude compat
+
 OPTIONS_DEFINE=	TCLMAN TZDATA DEBUG
 OPTIONS_DEFAULT=TCLMAN TZDATA
 OPTIONS_DEFINE_amd64=	DTRACE
@@ -36,7 +38,6 @@ PATCH_WRKSRC=	${WRKDIR}/${PORTNAME}${DISTVERSION}
 WRKSRC=		${PATCH_WRKSRC}/unix
 
 ALL_TARGET=	binaries libraries doc
-INSTALL_TARGET=	install-strip
 TEST_TARGET=	test-tcl
 
 USE_LDCONFIG=	yes
@@ -61,6 +62,12 @@ DEBUG_CONFIGURE_ENABLE=	symbols
 DTRACE_CONFIGURE_ENABLE=	dtrace
 
 .include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDEBUG}
+INSTALL_TARGET+=install
+.else
+INSTALL_TARGET+=install-strip
+.endif
 
 .if ${PORT_OPTIONS:MDTRACE}
 PLIST_SUB+=	DTRACE=""


More information about the svn-ports-all mailing list