1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Fix location of .pc files for pkg-config [1].

Fix issue with parallel build, pre-build prof_err.h.

Reported by: ak@, mat@ [1]
This commit is contained in:
Matthias Andree 2014-05-22 21:56:52 +00:00
parent 364ab8781f
commit 91d099f3c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354893
7 changed files with 12 additions and 13 deletions

View File

@ -1,7 +1,7 @@
# Created by: Ben Kaduk <kaduk@mit.edu>
# $FreeBSD$
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= devel
PKGNAMESUFFIX= -libss
@ -15,7 +15,6 @@ OPTIONS_EXCLUDE= DOCS EXAMPLES IPV6 NLS
CONFIGURE_ARGS= --enable-elf-shlibs
MASTERDIR= ${.CURDIR}/../../sysutils/e2fsprogs
GNU_CONFIGURE= yes
USES= gmake
USE_LDCONFIG= yes
ALL_TARGET= subs
INSTALL_WRKSRC= ${WRKSRC}/lib/ss

View File

@ -5,10 +5,9 @@ lib/libss.so.2.0
lib/libss.so
lib/libss.a
lib/libss.so.2
lib/pkgconfig/ss.pc
libdata/pkgconfig/ss.pc
man/man1/mk_cmds.1.gz
share/ss/ct_c.awk
share/ss/ct_c.sed
@dirrmtry lib/pkgconfig
@dirrm include/ss
@dirrm share/ss

View File

@ -1,7 +1,7 @@
# Created by: Matthias Andree <matthias.andree@gmx.de>
# $FreeBSD$
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= misc devel
PKGNAMESUFFIX= -libblkid
@ -13,7 +13,6 @@ CONFIGURE_ARGS= --enable-elf-shlibs
MASTERDIR= ${.CURDIR}/../../sysutils/e2fsprogs
MAKE_ARGS= LIB_SUBDIRS=lib/blkid
USES= gmake
USE_LDCONFIG= yes
ALL_TARGET= libs
INSTALL_TARGET= install install-shlibs

View File

@ -4,7 +4,6 @@ lib/libblkid.so.1.0
lib/libblkid.so.1
lib/libblkid.so
lib/libblkid.a
lib/pkgconfig/blkid.pc
@dirrmtry lib/pkgconfig
libdata/pkgconfig/blkid.pc
@dirrm include/blkid
man/man3/libblkid.3.gz

View File

@ -1,7 +1,7 @@
# Created by: Matthias Andree <matthias.andree@gmx.de>
# $FreeBSD$
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= misc devel
PKGNAMESUFFIX= -libuuid
@ -15,7 +15,6 @@ OPTIONS_EXCLUDE= NLS
OPTIONSFILE= # works around optionsNG trouble
MASTERDIR= ${.CURDIR}/../../sysutils/e2fsprogs
MAKE_ARGS= LIB_SUBDIRS=lib/uuid
USES= gmake
USE_LDCONFIG= yes
ALL_TARGET= libs
INSTALL_TARGET= install install-shlibs

View File

@ -4,7 +4,7 @@ lib/libuuid.so.1.2
lib/libuuid.so.1
lib/libuuid.so
lib/libuuid.a
lib/pkgconfig/uuid.pc
libdata/pkgconfig/uuid.pc
man/man1/uuidgen.1.gz
man/man3/uuid.3.gz
man/man3/uuid_clear.3.gz
@ -20,7 +20,6 @@ man/man3/uuid_generate_time.3.gz
man/man8/uuidd.8.gz
sbin/uuidd
@exec mkdir -p /var/run/libuuid
@dirrmtry lib/pkgconfig
@dirrm include/uuid
@unexec %D/etc/rc.d/uuidd stop >/dev/null 2>&1 || true
@unexec rmdir /var/run/libuuid >/dev/null 2>&1 || true

View File

@ -21,7 +21,7 @@ CONFIGURE_ARGS+=--disable-fsck --disable-e2initrd-helper \
--enable-quota \
--with-root-prefix='${PREFIX}'
CPPFLAGS+= -I${WRKSRC}/lib -I${LOCALBASE}/include # -D_EXT2_USE_C_VERSIONS
MAKE_ARGS+= LDFLAGS='${LDFLAGS} -L${LOCALBASE}/lib'
MAKE_ARGS+= LDFLAGS='${LDFLAGS} -L${LOCALBASE}/lib' pkgconfigdir='${PREFIX}/libdata/pkgconfig'
MAKE_ENV+= CHECK_CMD=@true
.if !defined(MASTERDIR)
@ -81,6 +81,11 @@ post-patch::
.endfor
.if ${MASTERDIR} == ${.CURDIR}
pre-build:
# fix up Makefile ordering for parallel builds
cd ${WRKSRC}/lib/et && ${DO_MAKE_BUILD} compile_et
cd ${WRKSRC}/e2fsck && ${DO_MAKE_BUILD} prof_err.h
post-build:
# Relink e2fsck statically - We need to make sure that tools for the root file
# system are statically linked against anything that is outside the root fs,