Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Dec 2013 08:12:14 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336250 - in head/lang: python2 python3
Message-ID:  <201312120812.rBC8CEJi001193@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Thu Dec 12 08:12:13 2013
New Revision: 336250
URL: http://svnweb.freebsd.org/changeset/ports/336250

Log:
  Install python[23].pc files for the lang/python[23] ports.
  
  Discussed with:	koobs@
  Approved by:	python@ (wg@)

Modified:
  head/lang/python2/Makefile
  head/lang/python3/Makefile

Modified: head/lang/python2/Makefile
==============================================================================
--- head/lang/python2/Makefile	Thu Dec 12 07:50:31 2013	(r336249)
+++ head/lang/python2/Makefile	Thu Dec 12 08:12:13 2013	(r336250)
@@ -2,7 +2,7 @@
 
 PORTNAME=	python2
 PORTVERSION=	${PYTHON_MAJOR_VER}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang python ipv6
 MASTER_SITES=	# empty
 DISTFILES=	# empty
@@ -23,7 +23,8 @@ PLIST_FILES=	bin/2to3-${PYTHON_MAJOR_VER
 		bin/python${PYTHON_MAJOR_VER}-config \
 		bin/python-shared${PYTHON_MAJOR_VER} \
 		bin/python-shared${PYTHON_MAJOR_VER}-config \
-		bin/smtpd${PYTHON_MAJOR_VER}.py
+		bin/smtpd${PYTHON_MAJOR_VER}.py \
+		libdata/pkgconfig/python${PYTHON_MAJOR_VER}.pc
 
 NO_STAGE=	yes
 .include <bsd.port.pre.mk>
@@ -38,6 +39,7 @@ do-install:
 	${LN} -sf ${PREFIX}/bin/smtpd${PYTHON_VER}.py ${PREFIX}/bin/smtpd${PYTHON_MAJOR_VER}.py
 	${LN} -sf ${PREFIX}/bin/python${PYTHON_VER}-config ${PREFIX}/bin/python${PYTHON_MAJOR_VER}-config
 	${LN} -sf ${PREFIX}/bin/python-shared${PYTHON_VER}-config ${PREFIX}/bin/python-shared${PYTHON_MAJOR_VER}-config
+	${LN} -sf ${PREFIX}/libdata/pkgconfig/python-${PYTHON_VER}.pc ${PREFIX}/libdata/pkgconfig/python${PYTHON_MAJOR_VER}.pc
 
 # Major upgrade support
 PORTUPGRADE_CMD=	${LOCALBASE}/sbin/portupgrade

Modified: head/lang/python3/Makefile
==============================================================================
--- head/lang/python3/Makefile	Thu Dec 12 07:50:31 2013	(r336249)
+++ head/lang/python3/Makefile	Thu Dec 12 08:12:13 2013	(r336250)
@@ -2,6 +2,7 @@
 
 PORTNAME=	python3
 PORTVERSION=	${PYTHON_MAJOR_VER}
+PORTREVISION=	1
 CATEGORIES=	lang python ipv6
 MASTER_SITES=
 DISTFILES=
@@ -21,7 +22,8 @@ PLIST_FILES=	bin/2to3-${PYTHON_MAJOR_VER
 		bin/python${PYTHON_MAJOR_VER} \
 		bin/python${PYTHON_MAJOR_VER}-config \
 		bin/python-shared${PYTHON_MAJOR_VER} \
-		bin/python-shared${PYTHON_MAJOR_VER}-config
+		bin/python-shared${PYTHON_MAJOR_VER}-config \
+		libdata/pkgconfig/python${PYTHON_MAJOR_VER}.pc
 
 NO_STAGE=	yes
 .include <bsd.port.pre.mk>
@@ -38,6 +40,7 @@ do-install:
 .endfor
 	${LN} -sf ${PREFIX}/bin/python${PYTHON_VER}-config ${PREFIX}/bin/python${PYTHON_MAJOR_VER}-config
 	${LN} -sf ${PREFIX}/bin/python-shared${PYTHON_VER}-config ${PREFIX}/bin/python-shared${PYTHON_MAJOR_VER}-config
+	${LN} -sf ${PREFIX}/libdata/pkgconfig/python-${PYTHON_VER}.pc ${PREFIX}/libdata/pkgconfig/python${PYTHON_MAJOR_VER}.pc
 
 # Major upgrade support
 PORTUPGRADE_CMD=	${LOCALBASE}/sbin/portupgrade



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