Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 2016 16:12:19 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r409533 - branches/2016Q1/lang/sdcc
Message-ID:  <201602251612.u1PGCJ7f096967@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Thu Feb 25 16:12:19 2016
New Revision: 409533
URL: https://svnweb.freebsd.org/changeset/ports/409533

Log:
  MFH: r409285
  
  Patch files to replace ARCH with PICARCH.  NOPRECIOUSMAKEVARS makes
  bsd.port.mk stop using ARCH but the package builders set ARCH in their
  make.conf anyway.
  
  Some libraries were missing from the package because of this.
  
  Reported by:	Jason Bacon <bacon4000@gmail.com>
  Approved by:	ports-secteam (feld)

Modified:
  branches/2016Q1/lang/sdcc/Makefile
Directory Properties:
  branches/2016Q1/   (props changed)

Modified: branches/2016Q1/lang/sdcc/Makefile
==============================================================================
--- branches/2016Q1/lang/sdcc/Makefile	Thu Feb 25 16:10:24 2016	(r409532)
+++ branches/2016Q1/lang/sdcc/Makefile	Thu Feb 25 16:12:19 2016	(r409533)
@@ -3,7 +3,7 @@
 PORTNAME=	sdcc
 PORTVERSION=	3.5.0
 DISTVERSIONPREFIX=	src-
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang
 MASTER_SITES=	SF
 
@@ -32,7 +32,6 @@ Z80_DESC=	Zilog Z80/Z180/GBZ80, Rabbit 2
 
 CONFIGURE_ARGS=	--disable-avr --disable-install-libbfd --disable-werror \
 		--disable-st7 docdir=${DOCSDIR} sdcc_cv_c_fms_extensions=no
-NOPRECIOUSMAKEVARS=	yes
 PORTDATA=	*
 PORTDOCS=	*
 WRKSRC=		${WRKDIR}/sdcc-${DISTVERSION}
@@ -63,6 +62,27 @@ post-patch:
 	@${REINPLACE_CMD} '/install:/s/:.*/:/' \
 		${WRKSRC}/Makefile.in \
 		${WRKSRC}/support/sdbinutils/libiberty/Makefile.in
+	@${REINPLACE_CMD} 's/[[:<:]]ARCH[[:>:]]/PICARCH/g' \
+		${WRKSRC}/device/lib/pic14/Makefile.common \
+		${WRKSRC}/device/lib/pic14/Makefile.in \
+		${WRKSRC}/device/lib/pic14/configure \
+		${WRKSRC}/device/lib/pic14/libm/Makefile.in \
+		${WRKSRC}/device/lib/pic14/libsdcc/enhanced/Makefile.in \
+		${WRKSRC}/device/lib/pic14/libsdcc/enhanced-no-xinst/Makefile.in \
+		${WRKSRC}/device/lib/pic14/libsdcc/regular/Makefile.in \
+		${WRKSRC}/device/lib/pic16/Makefile.in \
+		${WRKSRC}/device/lib/pic16/configure \
+		${WRKSRC}/device/lib/pic16/debug/Makefile.in \
+		${WRKSRC}/device/lib/pic16/libc/Makefile.in \
+		${WRKSRC}/device/lib/pic16/libio/Makefile.in \
+		${WRKSRC}/device/lib/pic16/libm/Makefile.in \
+		${WRKSRC}/device/lib/pic16/libsdcc/Makefile.in \
+		${WRKSRC}/device/lib/pic16/startup/Makefile.in \
+		${WRKSRC}/device/non-free/lib/pic14/Makefile.common.in \
+		${WRKSRC}/device/non-free/lib/pic14/Makefile.rules \
+		${WRKSRC}/device/non-free/lib/pic16/Makefile.in \
+		${WRKSRC}/device/non-free/lib/pic16/configure \
+		${WRKSRC}/device/non-free/lib/pic16/libdev/Makefile.in
 .if ! ${PORT_OPTIONS:MDOCS}
 	@${REINPLACE_CMD} 's, [a-z-]*doc,,' \
 		${WRKSRC}/Makefile.in \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602251612.u1PGCJ7f096967>