diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-01-11 09:25:01 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-01-11 09:25:01 +0000 |
commit | 910824cea4e3b2c81346ba49bedf74a117bc203f (patch) | |
tree | 76b3bdc48f8be159f1848c76e9b8c7f79f8686f7 /lib/liblzma | |
parent | a5eb009b49ceb08697d283fa45f035ba71b9a17e (diff) | |
download | src-test-910824cea4e3b2c81346ba49bedf74a117bc203f.tar.gz src-test-910824cea4e3b2c81346ba49bedf74a117bc203f.zip |
Do not regenerate and install liblzma.pc when only build libraries
aka do not regenerate while generating 32bits libs
Reported by: antoine
Notes
Notes:
svn path=/head/; revision=276962
Diffstat (limited to 'lib/liblzma')
-rw-r--r-- | lib/liblzma/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/liblzma/Makefile b/lib/liblzma/Makefile index b2c22c889b1cd..2229194c9a0d0 100644 --- a/lib/liblzma/Makefile +++ b/lib/liblzma/Makefile @@ -148,12 +148,13 @@ CFLAGS+= -DSYMBOL_VERSIONING CLEANFILES+= liblzma.pc +.if !defined(LIBRARIES_ONLY) all: liblzma.pc liblzma.pc: liblzma.pc.in @sed -e 's,@prefix@,/usr,g ; \ s,@exec_prefix@,/usr,g ; \ - s,@libdir@,${LIBDIR},g ; \ - s,@includedir@,${INCLUDEDIR},g ; \ + s,@libdir@,/usr/lib,g ; \ + s,@includedir@,/usr/include,g ; \ s,@PACKAGE_URL@,http://tukaani.org/xz/,g ; \ s,@PACKAGE_VERSION@,${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH},g ; \ s,@PTHREAD_CFLAGS@,,g ; \ @@ -162,5 +163,6 @@ liblzma.pc: liblzma.pc.in beforeinstall: @${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ liblzma.pc ${DESTDIR}${LIBDATADIR}/pkgconfig +.endif .include <bsd.lib.mk> |