svn commit: r369894 - in head/devel: boehm-gc boehm-gc-redirect boehm-gc-threaded
Tijl Coosemans
tijl at FreeBSD.org
Fri Oct 3 12:52:36 UTC 2014
Author: tijl
Date: Fri Oct 3 12:52:34 2014
New Revision: 369894
URL: https://svnweb.freebsd.org/changeset/ports/369894
QAT: https://qat.redports.org/buildarchive/r369894/
Log:
- Complete USES=libtool conversion
- Remove USE_AUTOTOOLS
- Replace MAKE with MAKE_CMD
Modified:
head/devel/boehm-gc-redirect/Makefile
head/devel/boehm-gc-threaded/Makefile
head/devel/boehm-gc/Makefile
Modified: head/devel/boehm-gc-redirect/Makefile
==============================================================================
--- head/devel/boehm-gc-redirect/Makefile Fri Oct 3 12:42:42 2014 (r369893)
+++ head/devel/boehm-gc-redirect/Makefile Fri Oct 3 12:52:34 2014 (r369894)
@@ -1,7 +1,7 @@
# Created by: stas
# $FreeBSD$
-PORTREVISION= 0
+PORTREVISION= 1
COMMENT= Garbage collection and memory leak detection for C and C++ with malloc redirection
@@ -9,6 +9,7 @@ LICENSE= MIT
MASTERDIR= ${.CURDIR}/../boehm-gc
DESCR= ${.CURDIR}/pkg-descr
+
GC_VARIANT= redirect
.include "${MASTERDIR}/Makefile"
Modified: head/devel/boehm-gc-threaded/Makefile
==============================================================================
--- head/devel/boehm-gc-threaded/Makefile Fri Oct 3 12:42:42 2014 (r369893)
+++ head/devel/boehm-gc-threaded/Makefile Fri Oct 3 12:52:34 2014 (r369894)
@@ -1,7 +1,7 @@
# Created by: stas
# $FreeBSD$
-PORTREVISION= 0
+PORTREVISION= 1
COMMENT= Garbage collection and memory leak detection for C and C++ with threading support
@@ -11,6 +11,5 @@ MASTERDIR= ${.CURDIR}/../boehm-gc
DESCR= ${.CURDIR}/pkg-descr
GC_VARIANT= threaded
-SOVER= 1
.include "${MASTERDIR}/Makefile"
Modified: head/devel/boehm-gc/Makefile
==============================================================================
--- head/devel/boehm-gc/Makefile Fri Oct 3 12:42:42 2014 (r369893)
+++ head/devel/boehm-gc/Makefile Fri Oct 3 12:52:34 2014 (r369894)
@@ -23,7 +23,6 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libatomi
GNU_CONFIGURE= yes
USES= libtool pathfix pkgconfig
-USE_AUTOTOOLS= aclocal autoconf libtoolize
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --enable-cplusplus --disable-static
@@ -36,11 +35,11 @@ OPTIONS_DEFINE= DEBUG
.ifdef GC_VARIANT
INSTLIBS= cord gc gccpp
PLIST= ${NONEXISTENT}
-PLIST_FILES= ${INSTLIBS:S,^,lib/lib,g:S,$,-${GC_VARIANT}.so.${SOVER},g} \
- ${INSTLIBS:S,^,lib/lib,g:S,$,-${GC_VARIANT}.so,g} \
+PLIST_FILES= ${INSTLIBS:S,^,lib/lib,:S,$,-${GC_VARIANT}.so,} \
+ ${INSTLIBS:S,^,lib/lib,:S,$,-${GC_VARIANT}.so.1,} \
+ ${INSTLIBS:S,^,lib/lib,:S,$,-${GC_VARIANT}.so.1.0.3,} \
libdata/pkgconfig/bdw-gc-${GC_VARIANT}.pc
RUN_DEPENDS+= ${LOCALBASE}/include/gc/gc.h:${PORTSDIR}/devel/boehm-gc
-SOVER= 1
. if ${GC_VARIANT} == "redirect"
CONFIGURE_ARGS+=--disable-threads --enable-redirect-malloc
. endif
@@ -55,13 +54,9 @@ OPTIONS_DEFINE+=DOCS
PORTDOCS= *
.endif
-.include <bsd.port.pre.mk>
-
NOT_FOR_ARCHS= ia64
-# no rule to get .lo from .S in subdirectory
-pre-build:
- ${LN} -sf ${WRKSRC}/src/sparc_mach_dep.S ${WRKSRC}
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+=--enable-gc-debug
@@ -83,15 +78,12 @@ post-patch:
@${REINPLACE_CMD} -e \
's,-lgc,-lgc-${GC_VARIANT},' ${WRKSRC}/bdw-gc.pc.in
-do-install:
-.for LIB in ${INSTLIBS}
- ${INSTALL_DATA} ${WRKSRC}/.libs/lib${LIB}-${GC_VARIANT}.so.${SOVER} \
- ${STAGEDIR}${PREFIX}/lib/lib${LIB}-${GC_VARIANT}.so.${SOVER}
- ${LN} -sf lib${LIB}-${GC_VARIANT}.so.${SOVER} \
- ${STAGEDIR}${PREFIX}/lib/lib${LIB}-${GC_VARIANT}.so
-.endfor
- ${INSTALL_DATA} ${WRKSRC}/bdw-gc.pc \
+post-install:
+ ${RM} -r ${STAGEDIR}${PREFIX}/include
+ ${RM} -r ${STAGEDIR}${PREFIX}/share
+ ${MV} ${STAGEDIR}${PREFIX}/libdata/pkgconfig/bdw-gc.pc \
${STAGEDIR}${PREFIX}/libdata/pkgconfig/bdw-gc-${GC_VARIANT}.pc
+
.else # ! GC_VARIANT
post-patch:
@@ -107,13 +99,7 @@ post-install:
.endif
-# Get rid of .la and static library files
-#
-post-configure:
- @${REINPLACE_CMD} -E -e \
- '/Install the pseudo-library/,/staticlibs=/s,^,#,' ${WRKSRC}/libtool
-
regression-test: build
- cd ${WRKSRC} && ${MAKE} check
+ (cd ${WRKSRC} && ${MAKE_CMD} check)
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-all
mailing list