aboutsummaryrefslogtreecommitdiff
path: root/lang/pypy3-devel
diff options
context:
space:
mode:
authorDavid Naylor <dbn@FreeBSD.org>2013-11-07 15:08:55 +0000
committerDavid Naylor <dbn@FreeBSD.org>2013-11-07 15:08:55 +0000
commit39d5bdb3e64c8e35384ac51aa83f498135cdd65b (patch)
tree34f41f090da546acbf40cab165aef2cc8b07bb9e /lang/pypy3-devel
parent3e8201baeff7af500a035c15978a3d877e677b8a (diff)
downloadports-39d5bdb3e64c8e35384ac51aa83f498135cdd65b.tar.gz
ports-39d5bdb3e64c8e35384ac51aa83f498135cdd65b.zip
Notes
Diffstat (limited to 'lang/pypy3-devel')
-rw-r--r--lang/pypy3-devel/Makefile25
1 files changed, 8 insertions, 17 deletions
diff --git a/lang/pypy3-devel/Makefile b/lang/pypy3-devel/Makefile
index addb56eeaf3b..7c06962d8470 100644
--- a/lang/pypy3-devel/Makefile
+++ b/lang/pypy3-devel/Makefile
@@ -13,9 +13,9 @@ COMMENT= Fast, compliant implementation of the Python language
LICENSE= MIT PSFL
LICENSE_COMB= multi
-LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 \
- ffi:${PORTSDIR}/devel/libffi \
- sqlite3:${PORTSDIR}/databases/sqlite3
+LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 \
+ libffi.so:${PORTSDIR}/devel/libffi \
+ libsqlite3.so:${PORTSDIR}/databases/sqlite3
PYTHON_DESC= Use Python-2.7 to translate (slowest)
PYPY_DESC= Use PyPy to translate (fastest, highest memory usage)
@@ -41,7 +41,7 @@ ALL_TARGET= ${PYPY_NAMES}
BUILD_WRKSRC= ${WRKDIR}
LATEST_LINK= ${PORTNAME}-devel
USE_BZIP2= yes
-USES= gettext iconv
+USES= compiler:c11 gettext iconv
MAKEFILE= ${FILESDIR}/Makefile
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
@@ -64,18 +64,9 @@ MAKE_ENV+= DISTVERSION=${DISTVERSION} PYTHON_CMD=${PYTHON_CMD} \
LOCALBASE_REFIX= \
lib_pypy/_sqlite3.py
-NO_STAGE= yes
.include <bsd.port.options.mk>
.include "${MASTERDIR}/files/bsd.pypy.inst.mk"
-.if ${OSVERSION} < 1000024 || ( ${ARCH} != "i386" && ${ARCH} != "amd64" )
-.if ${CC:T} == cc && ( exists(/usr/bin/clang) || exists(${LOCALBASE}/clang) )
-CC= clang
-.else
-USE_GCC= 4.2+
-.endif
-.endif
-
.if ${PORT_OPTIONS:MPYPY} || defined(PYTHON_CMD)
PYTHON_CMD?= ${LOCALBASE}/bin/pypy
.elif ${PORT_OPTIONS:MPYPY_MINMEM}
@@ -113,7 +104,7 @@ WITH_BOEHM_GC= yes
.endfor # inst in ${PYPY_INST}
.if defined(WITH_BOEHM_GC)
-LIB_DEPENDS+= gc:${PORTSDIR}/devel/boehm-gc
+LIB_DEPENDS+= libgc.so:${PORTSDIR}/devel/boehm-gc
.endif
# Translate FreeBSD ARCH types to PyPy ARCH types
@@ -271,12 +262,12 @@ post-build:
do-install:
.for _path in ${PYPYDIRS}
- -${RM} ${PREFIX}/${_path:C/.*://}
- (cd ${WRKSRC}/${_path:C/:.*//}; ${COPYTREE_SHARE} . ${PREFIX}/${_path:C/.*://})
+ ${RM} -f ${STAGEDIR}${PREFIX}/${_path:C/.*://}
+ (cd ${WRKSRC}/${_path:C/:.*//}; ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${_path:C/.*://})
.endfor
.for name in ${PYPY_NAMES:O}
${STRIP_CMD} ${WRKDIR}/${name}
- ${INSTALL_PROGRAM} ${WRKDIR}/${name} ${PREFIX}/bin/${name}3-${PYPY_VER}
+ ${INSTALL_PROGRAM} ${WRKDIR}/${name} ${STAGEDIR}${PREFIX}/bin/${name}3-${PYPY_VER}
${ECHO} bin/${name}3-${PYPY_VER} >> ${TMPPLIST}
.endfor