summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorobache <obache>2012-12-30 08:09:20 +0000
committerobache <obache>2012-12-30 08:09:20 +0000
commitf99710bb464c16e08f9f03a046f232c06f18d262 (patch)
tree825a35f50fddb82cf6f79a75ead69a108d92d3ed /print
parentb36139272f08381cae865b16fd8b5668a7169ead (diff)
downloadpkgsrc-f99710bb464c16e08f9f03a046f232c06f18d262.tar.gz
avoid to overwrite `libarchive.pc' from buildlink.
PR 47279.
Diffstat (limited to 'print')
-rw-r--r--print/libgxps/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/print/libgxps/Makefile b/print/libgxps/Makefile
index 5bcd473ac8c..083d2cba848 100644
--- a/print/libgxps/Makefile
+++ b/print/libgxps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2012/10/08 23:02:21 adam Exp $
+# $NetBSD: Makefile,v 1.8 2012/12/30 08:09:20 obache Exp $
#
DISTNAME= libgxps-0.2.2
@@ -19,7 +19,7 @@ USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= libgxps.pc.in
pre-configure:
- ${CP} ${FILESDIR}/libarchive.pc ${BUILDLINK_DIR}/lib/pkgconfig
+ ${TEST} -e ${BUILDLINK_DIR}/lib/pkgconfig/libarchive.pc || ${CP} ${FILESDIR}/libarchive.pc ${BUILDLINK_DIR}/lib/pkgconfig
# for test
#.include "../../x11/gtk3/buildlink3.mk"