pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/archivers/libarchive
Module Name: pkgsrc
Committed By: leot
Date: Thu Jun 7 11:47:58 UTC 2018
Modified Files:
pkgsrc/archivers/libarchive: builtin.mk
Log Message:
libarchive: Quote all sed commands in fake-libarchive-pc target
At least the last `-e' contains whitespaces and can be problematic.
Avoid that by quoting all commands.
Should fix PR pkg/53347.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/archivers/libarchive/builtin.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/archivers/libarchive/builtin.mk
diff -u pkgsrc/archivers/libarchive/builtin.mk:1.7 pkgsrc/archivers/libarchive/builtin.mk:1.8
--- pkgsrc/archivers/libarchive/builtin.mk:1.7 Wed Jun 6 14:21:09 2018
+++ pkgsrc/archivers/libarchive/builtin.mk Thu Jun 7 11:47:58 2018
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.7 2018/06/06 14:21:09 prlw1 Exp $
+# $NetBSD: builtin.mk,v 1.8 2018/06/07 11:47:58 leot Exp $
BUILTIN_PKG:= libarchive
@@ -113,12 +113,12 @@ fake-libarchive-pc:
${LN} -sf $${src} $${dst}; \
else \
${ECHO_BUILDLINK_MSG} "Creating $${dst}"; \
- ${SED} -e s,@prefix@,${BUILDLINK_PREFIX.libarchive}, \
- -e s,@exec_prefix@,${BUILDLINK_PREFIX.libarchive},\
- -e s,@libdir@,${BUILDLINK_PREFIX.libarchive}/lib${LIBABISUFFIX},\
- -e s,@includedir@,${BUILDLINK_PREFIX.libarchive}/include,\
- -e s,@VERSION@,${BUILTIN_VERSION.libarchive}, \
- -e s,@LIBS@,-llzma -lbz2 -lz, \
+ ${SED} -e 's,@prefix@,${BUILDLINK_PREFIX.libarchive},' \
+ -e 's,@exec_prefix@,${BUILDLINK_PREFIX.libarchive},'\
+ -e 's,@libdir@,${BUILDLINK_PREFIX.libarchive}/lib${LIBABISUFFIX},'\
+ -e 's,@includedir@,${BUILDLINK_PREFIX.libarchive}/include,'\
+ -e 's,@VERSION@,${BUILTIN_VERSION.libarchive},' \
+ -e 's,@LIBS@,-llzma -lbz2 -lz,' \
$${sedsrc} > $${dst}; \
fi \
fi
Home |
Main Index |
Thread Index |
Old Index