1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

devel/libublio: remove *_p.a profiling library

Since a port cannot reliably and easily infer the profiling
configuration from src.conf (the ports framework defeats reading it, and
historically the port had its troubles with that), remove the profiled
libublio_p.a altogether.

Bumps PORTREVISION due to pkg-plist change on most practical systems.

Reported by:	emaste@
PR:		256873
This commit is contained in:
Matthias Andree 2021-07-06 20:21:29 +02:00
parent 2e6a5c7230
commit 62ff121df2
3 changed files with 3 additions and 18 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= libublio
PORTVERSION= 20070103
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= LOCAL/mandree
@ -13,17 +13,8 @@ LICENSE= BSD2CLAUSE
USE_LDCONFIG= yes
.if defined(NO_PROFILE) || defined(NOPROFILE) || defined(WITHOUT_PROFILE) || "${MK_PROFILE}" == "no"
PLIST_SUB+= PROFLIB="@comment "
.else
PLIST_SUB+= PROFLIB=""
.endif
USES= uidfix
SRCCONF= /dev/null
MAKE_ENV+= SRCCONF=${SRCCONF}
SUB_FILES= libublio.pc
SUB_LIST= PREFIX=${PREFIX} PORTVERSION=${PORTVERSION}
@ -32,13 +23,6 @@ OPTIONS_DEFINE= DOCS
post-extract:
@${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}
# this pre-install is only for debugging pointyhat failures
pre-install:
@${ECHO_CMD} "===> Environment:"
@${SETENV} | ${SORT} -f
@${ECHO_CMD} "===> Makefiles used:"
@${ECHO_CMD} ${.MAKEFILE_LIST}
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

View File

@ -11,4 +11,6 @@ LIB= ublio
SHLIB_MAJOR= 1
LIBDIR= ${PREFIX}/lib
MK_PROFILE= no
.include <bsd.lib.mk>

View File

@ -1,6 +1,5 @@
include/ublio.h
lib/libublio.a
%%PROFLIB%%lib/libublio_p.a
lib/libublio.so
lib/libublio.so.1
libdata/pkgconfig/libublio.pc