svn commit: r363163 - head/devel/psptoolchain-newlib

John Marino marino at FreeBSD.org
Mon Jul 28 14:38:11 UTC 2014


Author: marino
Date: Mon Jul 28 14:38:10 2014
New Revision: 363163
URL: http://svnweb.freebsd.org/changeset/ports/363163
QAT: https://qat.redports.org/buildarchive/r363163/

Log:
  stage devel/psptoolchain-newlib and restore maintainship
  
  PR:		192144
  Submitted by:	former maintainer (Tassilo Philipp)

Modified:
  head/devel/psptoolchain-newlib/Makefile

Modified: head/devel/psptoolchain-newlib/Makefile
==============================================================================
--- head/devel/psptoolchain-newlib/Makefile	Mon Jul 28 14:37:20 2014	(r363162)
+++ head/devel/psptoolchain-newlib/Makefile	Mon Jul 28 14:38:10 2014	(r363163)
@@ -3,13 +3,14 @@
 
 PORTNAME=		newlib
 PORTVERSION=		1.20.0
+PORTREVISION=		1
 CATEGORIES=		devel
 MASTER_SITES=		ftp://sources.redhat.com/pub/ \
 			${MASTER_SITE_SOURCEWARE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
 PKGNAMEPREFIX=		psptoolchain-
 
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER=		tphilipp at potion-studios.com
 COMMENT=		PlayStation Portable development toolchain ${PORTNAME}
 
 PSP_GCC_STAGE_PREFIX=	psp/stage1
@@ -21,7 +22,7 @@ BUILD_DEPENDS+=		${LOCALBASE}/${PSP_SDK_
 			psp-ld:${PORTSDIR}/devel/psptoolchain-binutils \
 			${LOCALBASE}/${PSP_GCC_STAGE_PREFIX}/bin/psp-gcc:${PORTSDIR}/devel/psptoolchain-gcc-stage1
 
-USES=		gmake makeinfo
+USES=			gmake makeinfo
 HAS_CONFIGURE=		yes
 CONFIGURE_ENV=		PATH=${LOCALBASE}/${PSP_GCC_STAGE_PREFIX}/bin:${PATH}
 MAKE_ENV=		PATH=${LOCALBASE}/${PSP_GCC_STAGE_PREFIX}/bin:${PATH}
@@ -29,7 +30,6 @@ CONFIGURE_ARGS=		--prefix=${PREFIX} --ta
 MAKE_ARGS+=		CC="${CC}" CFLAGS="${CFLAGS} -g" # Apparently, it doesn't work on the PSP without debug information
 
 # Disable installation of .info files and fix includedir reference.
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -E 's/^(install.*:.*)install-info(.*)/\1\2/' ${WRKSRC}/etc/Makefile.in
 	@${REINPLACE_CMD} -E 's#(-I\$${prefix}/)psp(/sdk/include)#-I${LOCALBASE}/${PSP_SDK_STAGE_PREFIX:S,/,\\/,}\2#' ${WRKSRC}/newlib/configure.host
@@ -39,6 +39,6 @@ post-patch:
 # Rename installed crt0.o as real crt0.o used by PSP code comes with psptoolchain-pspsdk-stage2
 # and would overwrite the one from this port.
 post-install:
-	@${MV} ${PREFIX}/psp/lib/crt0.o ${PREFIX}/psp/lib/crt0.newlib.o
+	@${MV} ${STAGEDIR}${PREFIX}/psp/lib/crt0.o ${STAGEDIR}${PREFIX}/psp/lib/crt0.newlib.o
 
 .include <bsd.port.post.mk>


More information about the svn-ports-head mailing list