More ossp-uuid vs e2fs-uuid cleaning: rename uuid.pc to ossp-uuid.pc

and e2fs-uuid.pc to uuid.pc. uuid.pc is what all projects using
pkg-config expect to find when looking for the "standard" uuid lib nowadays.

prompted by aja@
ok aja@ landry@ sthen@
This commit is contained in:
jasper 2011-07-06 07:21:24 +00:00
parent e995b00b78
commit 43b115ae28
4 changed files with 14 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.39 2010/12/23 23:04:56 jasper Exp $
# $OpenBSD: Makefile,v 1.40 2011/07/06 07:21:24 jasper Exp $
SHARED_ONLY= Yes
@ -13,6 +13,8 @@ CATEGORIES= devel
SHARED_LIBS= uuid 13.22 \
uuid++ 14.21
REVISION-main= 0
# Note there is a different libuuid in sysutils/e2fsprogs,-uuid.
# If you are porting something which needs libuuid, you may need
# to look there instead.
@ -44,4 +46,7 @@ CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-perl --with-cxx \
--without-php --without-pgsql
post-install:
mv ${PREFIX}/lib/pkgconfig/uuid.pc ${PREFIX}/lib/pkgconfig/ossp-uuid.pc
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
@comment $OpenBSD: PLIST-main,v 1.6 2010/12/23 23:04:56 jasper Exp $
@conflict e2fsprogs-<=1.27p4
@comment $OpenBSD: PLIST-main,v 1.7 2011/07/06 07:21:24 jasper Exp $
@conflict e2fsprogs-<=1.41.4p4
@conflict uuid-*
@pkgpath devel/uuid
@bin bin/uuid
@ -13,7 +13,7 @@ lib/libuuid.a
lib/libuuid.la
@lib lib/libuuid.so.${LIBuuid_VERSION}
lib/pkgconfig/
lib/pkgconfig/uuid.pc
lib/pkgconfig/ossp-uuid.pc
@man man/man1/uuid-config.1
@man man/man1/uuid.1
@man man/man3/uuid++.3

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.20 2010/11/20 17:22:40 espie Exp $
# $OpenBSD: Makefile,v 1.21 2011/07/06 07:21:24 jasper Exp $
# $FreeBSD: ports/sysutils/e2fsprogs/Makefile,v 1.8 2003/02/20 19:00:47 knu Exp $
COMMENT= utilities to manipulate ext2 filesystems
DISTNAME= e2fsprogs-1.41.4
REVISION = 4
REVISION = 5
CATEGORIES= sysutils devel
SHARED_LIBS= blkid 0.0 \
e2p 3.0 \
@ -47,6 +47,5 @@ post-install:
cd ${PREFIX}/sbin && mv fsck fsck_ext2fs
cd ${PREFIX}/man/man8 && mv fsck.8 fsck_ext2fs.8
cd ${PREFIX}/man/man3 && mv uuid.3 e2fs-uuid.3
mv ${PREFIX}/lib/pkgconfig/uuid.pc ${PREFIX}/lib/pkgconfig/e2fs-uuid.pc
.include <bsd.port.mk>

View File

@ -1,5 +1,6 @@
@comment $OpenBSD: PLIST,v 1.7 2010/05/17 12:01:26 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.8 2011/07/06 07:21:24 jasper Exp $
@conflict e2fs-uuid-*
@conflict uuid-1.6.2
@pkgpath sysutils/e2fsprogs,-main
@pkgpath sysutils/e2fsprogs,-uuid
@bin bin/chattr
@ -41,10 +42,10 @@ lib/libss.a
lib/pkgconfig/
lib/pkgconfig/blkid.pc
lib/pkgconfig/com_err.pc
lib/pkgconfig/e2fs-uuid.pc
lib/pkgconfig/e2p.pc
lib/pkgconfig/ext2fs.pc
lib/pkgconfig/ss.pc
lib/pkgconfig/uuid.pc
@man man/man1/chattr.1
@comment man/man1/compile_et.1
@man man/man1/lsattr.1