mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
5b63de467e
Currently when requiring both ossp-uuid and e2fspogs-libuuid is an impossibility without the use of a jail. This patch was created to fix this conflict. The patch includes updating revisions for removal of CONFLICTS, and change LIBDEPEND change for all affected ports. The changes on ossp-uuid port includes renaming of the shared/static libs created, C/C++ manpage, and rename of pkgconfig file. PR: 207004 Submitted by: Ultima1252@gmail.com Approved by: vd
36 lines
855 B
Makefile
36 lines
855 B
Makefile
# Created by: Kimura Fuyuki <fuyuki@nigredo.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= uuid
|
|
PORTVERSION= 1.6.2
|
|
PORTREVISION= 8
|
|
CATEGORIES= misc devel
|
|
MASTER_SITES= OSSP/lib/${PORTNAME}
|
|
PKGNAMEPREFIX= ossp-
|
|
|
|
MAINTAINER= vd@FreeBSD.org
|
|
COMMENT= ISO-C API and CLI for generating Universally Unique Identifiers
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES+= libtool pathfix
|
|
USE_LDCONFIG= yes
|
|
CONFIGURE_ARGS= --with-cxx \
|
|
--includedir=${PREFIX}/include/ossp
|
|
|
|
.if defined(SLAVEPORT) && ${SLAVEPORT}=="perl"
|
|
PKGNAMEPREFIX= p5-OSSP-
|
|
.endif
|
|
|
|
regression-test: test
|
|
|
|
pre-patch:
|
|
### Fixes lib conflicts with misc/e2fsprogs-libuuid ###
|
|
${REINPLACE_CMD} 's/libuuid.la/libossp-uuid.la/ ; s/libuuid++.la/libossp-uuid++.la/' \
|
|
${WRKDIR}/${DISTNAME}/Makefile.in
|
|
|
|
test: build
|
|
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
|
|
${MAKEFILE} ${MAKE_ARGS} check)
|
|
|
|
.include <bsd.port.mk>
|