svn commit: r334141 - head/devel/gdb

Danilo Egea Gondolfo danilo at FreeBSD.org
Mon Nov 18 03:35:31 UTC 2013


Author: danilo
Date: Mon Nov 18 03:35:30 2013
New Revision: 334141
URL: http://svnweb.freebsd.org/changeset/ports/334141

Log:
  - Fix the search path of python files
  
  PR:		ports/184008
  Reported by:	Jean-Paul Calderone <jean-paul at hybridcluster.com>
  Reviewed by:	Luca Pizzamiglio <luca.pizzamiglio at gmail.com> (maintainer)

Modified:
  head/devel/gdb/Makefile

Modified: head/devel/gdb/Makefile
==============================================================================
--- head/devel/gdb/Makefile	Mon Nov 18 03:04:05 2013	(r334140)
+++ head/devel/gdb/Makefile	Mon Nov 18 03:35:30 2013	(r334141)
@@ -18,7 +18,7 @@ USES=		iconv gmake
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CONFIGURED_M4=m4 CONFIGURED_BISON=byacc
 CONFIGURE_ARGS=	--program-suffix=${PORTVERSION:S/.//g} \
-		--with-gdb-datadir=${STAGEDIR}${PREFIX}/share/gdb${PORTVERSION:S/.//g} \
+		--with-gdb-datadir=${PREFIX}/share/gdb${PORTVERSION:S/.//g} \
 		${ICONV_CONFIGURE_ARG} \
 		--without-libunwind-ia64 \
 		--enable-targets=all
@@ -91,8 +91,8 @@ do-install:
 	${LN} -sf gdb${VER} ${STAGEDIR}${PREFIX}/bin/gdb
 .endif
 .if ${PORT_OPTIONS:MPYTHON}
-	(cd ${WRKSRC}/gdb; ${GMAKE} install-python )
-	(cd ${WRKSRC}/gdb/data-directory; ${GMAKE} install-python )
+	(cd ${WRKSRC}/gdb; ${GMAKE} DESTDIR=${STAGEDIR} install-python )
+	(cd ${WRKSRC}/gdb/data-directory; ${GMAKE} DESTDIR=${STAGEDIR} install-python )
 .endif
 
 post-install:


More information about the svn-ports-all mailing list