[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

1.17.21 on OS X



Hey all,

Hopefully this email reaches the group, the Debian spam filter can be a
little overzealous at the best of times.

I'm trying to compile the latest dpkg, 1.17.21 on OS X, but keep running
into this persistent error. It could be expected given the relative
newness of this release, but thought I'd kick the configure process
upstream for a better insight.

Using a patch to fix the Perl location on OS X, and the MD5/SHA1/SHA256
tool use, but nothing that should halt or interfere drastically with
compile as far as I can see. The error seems to be unrelated.

Shall attach the build process and the patch, both of which are
hopefully some use.

If anyone is particularly jumpy about email attachments, the error is:

----------------------------------------------------------------------------------------
  CC       fdio.lo
fdio.c:113:36: error: expected ';' after expression
        rc = fcntl(fd, F_PREALLOCATE, &fs)
                                          ^
                                          ;
fdio.c:118:37: error: expected ';' after expression
                rc = fcntl(fd, F_PREALLOCATE, &fs)
                                                  ^
                                                  ;
2 errors generated.
make[4]: *** [fdio.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
  CC       file.lo
make[3]: *** [all-recursive] Error 1
----------------------------------------------------------------------------------------

Cheers,

Dom
-- 
Sent from OS X. If you wish to communicate more securely my PGP Public
Key is 0x872524db9d74326c.


==> Downloading https://mirrors.kernel.org/debian/pool/main/d/dpkg/dpkg_1.17.21.tar.xz
Already downloaded: /Library/Caches/Homebrew/dpkg-1.17.21.tar.xz
==> Verifying dpkg-1.17.21.tar.xz checksum
/usr/local/opt/xz/bin/xz -dc "/Library/Caches/Homebrew/dpkg-1.17.21.tar.xz" | tar xf - 
==> Downloading https://raw.githubusercontent.com/DomT4/scripts/master/Homebrew_Resources/dpkg/dpkgosx.diff
Already downloaded: /Library/Caches/Homebrew/dpkg--patch-b74e5a0738bd4f6e8244d49b04ed9cb44bf5de6e.diff
==> Verifying dpkg--patch-b74e5a0738bd4f6e8244d49b04ed9cb44bf5de6e.diff checksum
==> Patching
/usr/bin/patch -g 0 -f -d /private/tmp/dpkg-scXdQM/dpkg-1.17.21 -p1 -i /private/tmp/dpkg--patch-VeDcrO/dpkgosx.diff
patching file configure
patching file scripts/Dpkg/Checksums.pm
patching file scripts/Dpkg/Source/Archive.pm
patching file scripts/Makefile.am
patching file scripts/Makefile.in
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/dpkg/1.17.21 --disable-dselect --disable-linker-optimisations --disable-start-stop-daemon --disable-update-alternatives
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... yes
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of clang... none
checking whether make supports nested variables... (cached) yes
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking build system type... x86_64-apple-darwin14.0.0
checking host system type... x86_64-apple-darwin14.0.0
checking for ld used by clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... yes
checking for CFLocaleCopyCurrent... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... -liconv
checking for GNU gettext in libintl... no
checking whether to use NLS... no
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/Library/ENV/4.3/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin14.0.0 file names to x86_64-apple-darwin14.0.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin14.0.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from clang object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin14.0.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for --version-script linker flag... no
checking whether to build dselect... no
checking whether to build start-stop-daemon... no
checking whether to build update-alternatives... no
configure: using directory pkgconfdir = '${prefix}/etc/dpkg'
configure: using directory admindir = '${prefix}/var/lib/dpkg'
configure: using directory logdir = '${prefix}/var/log'
configure: using default dpkg-deb compressor = xz
checking for gnutar... /usr/local/opt/gnu-tar/bin/gtar
checking for gcc... (cached) clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether clang accepts -g... (cached) yes
checking for clang option to accept ISO C89... (cached) none needed
checking whether clang understands -c and -o together... (cached) yes
checking whether clang supports C99 features... yes
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking dependency style of clang++... none
checking how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking whether the clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking for clang++ option to produce PIC... -fno-common -DPIC
checking if clang++ PIC flag -fno-common -DPIC works... yes
checking if clang++ static flag -static works... no
checking if clang++ supports -c -o file.o... yes
checking if clang++ supports -c -o file.o... (cached) yes
checking whether the clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin14.0.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether clang++ supports C++11... no
checking for clang++ option to accept C++11... -std=gnu++11
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -ll
checking whether yytext is a pointer... yes
checking for doxygen... no
checking for dot... NO
checking for po4a... no
checking for perl... /usr/bin/perl
checking for pod2man... pod2man
checking whether to build with code coverage... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gzdopen in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for BZ2_bzdopen in -lbz2... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for lzma_alone_decoder in -llzma... yes
checking lzma.h usability... yes
checking lzma.h presence... yes
checking for lzma.h... yes
checking for pkg-config... /usr/local/opt/pkg-config/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for is_selinux_enabled in -lselinux... no
checking for setexecfilecon in -lselinux... no
checking selinux/selinux.h usability... no
checking selinux/selinux.h presence... no
checking for selinux/selinux.h... no
checking for ANSI C header files... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking error.h usability... no
checking error.h presence... no
checking for error.h... no
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
checking kvm.h usability... no
checking kvm.h presence... no
checking for kvm.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking sys/user.h usability... yes
checking sys/user.h presence... yes
checking for sys/user.h... yes
checking sys/proc.h usability... no
checking sys/proc.h presence... yes
configure: WARNING: sys/proc.h: present but cannot be compiled
configure: WARNING: sys/proc.h:     check for missing prerequisite headers?
configure: WARNING: sys/proc.h: see the Autoconf documentation
configure: WARNING: sys/proc.h:     section "Present But Cannot Be Compiled"
configure: WARNING: sys/proc.h: proceeding with the compiler's result
configure: WARNING:     ## ------------------------------------------- ##
configure: WARNING:     ## Report this to debian-dpkg@lists.debian.org ##
configure: WARNING:     ## ------------------------------------------- ##
checking for sys/proc.h... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking linux/fiemap.h usability... no
checking linux/fiemap.h presence... no
checking for linux/fiemap.h... no
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_int64_t... yes
checking for ptrdiff_t... yes
checking size of unsigned int... 4
checking size of unsigned long... 8
checking for unistd.h... (cached) yes
checking whether sys_siglist is declared... yes
checking whether sys_errlist is declared... yes
checking whether sys_nerr is declared... yes
checking for va_copy... yes
checking for C99 snprintf functions... yes
checking whether offsetof is declared... yes
checking whether makedev is declared... yes
checking whether WCOREDUMP is declared... yes
checking whether TIOCNOTTY is declared... yes
checking whether O_NOFOLLOW is declared... yes
checking whether F_ALLOCSP64 is declared... no
checking whether F_PREALLOCATE is declared... yes
checking whether P_tmpdir is declared... yes
checking for program_invocation_short_name... no
checking for __progname... yes
checking for getopt... yes
checking for getopt_long... yes
checking for obstack_free... no
checking for strnlen... yes
checking for strndup... yes
checking for strerror... yes
checking for strsignal... yes
checking for asprintf... yes
checking for scandir... yes
checking for alphasort... yes
checking for unsetenv... yes
checking whether strnlen is declared... yes
checking for memcpy... yes
checking for lchown... yes
checking for strtoimax... yes
checking for isascii... yes
checking for setsid... yes
checking for getdtablesize... yes
checking for getprogname... yes
checking for getexecname... no
checking for lutimes... yes
checking for fallocate... no
checking for posix_fallocate... no
checking for posix_fadvise... no
checking whether clang accepts -Wall... yes
checking whether clang accepts -Wextra... yes
checking whether clang accepts -Wno-unused-parameter... yes
checking whether clang accepts -Wno-missing-field-initializers... yes
checking whether clang accepts -Wmissing-declarations... yes
checking whether clang accepts -Wmissing-format-attribute... yes
checking whether clang accepts -Wformat-security... yes
checking whether clang accepts -Wpointer-arith... yes
checking whether clang accepts -Wlogical-op... no
checking whether clang accepts -Wvla... yes
checking whether clang accepts -Winit-self... yes
checking whether clang accepts -Wwrite-strings... yes
checking whether clang accepts -Wcast-align... yes
checking whether clang accepts -Wshadow... yes
checking whether clang accepts -Wdeclaration-after-statement... yes
checking whether clang accepts -Wnested-externs... yes
checking whether clang accepts -Wbad-function-cast... yes
checking whether clang accepts -Wstrict-prototypes... yes
checking whether clang accepts -Wmissing-prototypes... yes
checking whether clang accepts -Wold-style-definition... yes
checking whether clang++ -std=gnu++11 accepts -Wall... yes
checking whether clang++ -std=gnu++11 accepts -Wextra... yes
checking whether clang++ -std=gnu++11 accepts -Wno-unused-parameter... yes
checking whether clang++ -std=gnu++11 accepts -Wno-missing-field-initializers... yes
checking whether clang++ -std=gnu++11 accepts -Wmissing-declarations... yes
checking whether clang++ -std=gnu++11 accepts -Wmissing-format-attribute... yes
checking whether clang++ -std=gnu++11 accepts -Wformat-security... yes
checking whether clang++ -std=gnu++11 accepts -Wpointer-arith... yes
checking whether clang++ -std=gnu++11 accepts -Wlogical-op... no
checking whether clang++ -std=gnu++11 accepts -Wvla... yes
checking whether clang++ -std=gnu++11 accepts -Winit-self... yes
checking whether clang++ -std=gnu++11 accepts -Wwrite-strings... yes
checking whether clang++ -std=gnu++11 accepts -Wcast-align... yes
checking whether clang++ -std=gnu++11 accepts -Wshadow... yes
checking whether clang++ -std=gnu++11 accepts -Wc++11-compat... yes
checking whether clang++ -std=gnu++11 accepts -Wzero-as-null-pointer-constant... no
checking dpkg cpu type... amd64
checking dpkg operating system type... darwin
checking dpkg architecture name... darwin-amd64
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating dpkg-deb/Makefile
config.status: creating dpkg-split/Makefile
config.status: creating dselect/Makefile
config.status: creating dselect/methods/Makefile
config.status: creating dselect/po/Makefile.in
config.status: creating lib/Makefile
config.status: creating lib/compat/Makefile
config.status: creating lib/dpkg/Makefile
config.status: creating lib/dpkg/libdpkg.pc
config.status: creating lib/dpkg/test/Makefile
config.status: creating doc/Doxyfile
config.status: creating man/Makefile
config.status: creating po/Makefile.in
config.status: creating scripts/Makefile
config.status: creating scripts/mk/Makefile
config.status: creating scripts/po/Makefile.in
config.status: creating src/Makefile
config.status: creating utils/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating dselect/po/POTFILES
config.status: creating dselect/po/Makefile
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: creating scripts/po/POTFILES
config.status: creating scripts/po/Makefile
config.status: executing libtool commands
==> make
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in lib
Making all in compat
  CC       libcompat_test_la-strnlen.lo
  CC       libcompat_test_la-strndup.lo
  CC       libcompat_test_la-strsignal.lo
  CC       libcompat_test_la-snprintf.lo
  CC       libcompat_test_la-vsnprintf.lo
  CC       libcompat_test_la-asprintf.lo
  CC       libcompat_test_la-vasprintf.lo
  CC       libcompat_test_la-alphasort.lo
  CC       libcompat_test_la-scandir.lo
  CC       libcompat_test_la-unsetenv.lo
  CC       libcompat_test_la-strerror.lo
  CC       empty.lo
  CC       md5.lo
  CC       obstack.lo
  CCLD     libcompat-test.la
  CCLD     libcompat.la
Making all in dpkg
Making all in .
  CC       ar.lo
  CC       arch.lo
  CC       atomic-file.lo
  CC       buffer.lo
  CC       cleanup.lo
  CC       command.lo
  CC       compress.lo
  CC       dbdir.lo
  CC       dbmodify.lo
  CC       deb-version.lo
  CC       debug.lo
  CC       depcon.lo
  CC       dir.lo
  CC       dump.lo
  CC       ehandle.lo
  CC       error.lo
  CC       fdio.lo
  CC       file.lo
  CC       fields.lo
  CC       glob.lo
fdio.c:113:36: error: expected ';' after expression
        rc = fcntl(fd, F_PREALLOCATE, &fs)
                                          ^
                                          ;
fdio.c:118:37: error: expected ';' after expression
                rc = fcntl(fd, F_PREALLOCATE, &fs)
                                                  ^
                                                  ;
2 errors generated.
make[4]: *** [fdio.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
diff --git a/configure b/configure
index d53628f..b275ca2 100755
--- a/configure
+++ b/configure
@@ -19312,9 +19312,7 @@ if test "$PERL" = "no" || test ! -x "$PERL"; then
 fi
 # Let the user override the variable.
 if test -z "$PERL_LIBDIR"; then
-PERL_LIBDIR=$($PERL -MConfig -e 'my $r = $Config{vendorlibexp};
-                                 $r =~ s/$Config{vendorprefixexp}/\$(prefix)/;
-                                 print $r')
+PERL_LIBDIR="$prefix/perl"
 fi
 
 
diff --git a/scripts/Dpkg/Checksums.pm b/scripts/Dpkg/Checksums.pm
index 41865f3..c61cbca 100644
--- a/scripts/Dpkg/Checksums.pm
+++ b/scripts/Dpkg/Checksums.pm
@@ -51,15 +51,15 @@ about supported checksums.
 
 my $CHECKSUMS = {
     md5 => {
-	program => [ 'md5sum' ],
+	program => [ 'md5', '-q' ],
 	regex => qr/[0-9a-f]{32}/,
     },
     sha1 => {
-	program => [ 'sha1sum' ],
+	program => [ 'shasum', '-a', '1' ],
 	regex => qr/[0-9a-f]{40}/,
     },
     sha256 => {
-	program => [ 'sha256sum' ],
+	program => [ 'shasum', '-a', '256' ],
 	regex => qr/[0-9a-f]{64}/,
     },
 };
diff --git a/scripts/Dpkg/Source/Archive.pm b/scripts/Dpkg/Source/Archive.pm
index 2f76ea9..8eaebde 100644
--- a/scripts/Dpkg/Source/Archive.pm
+++ b/scripts/Dpkg/Source/Archive.pm
@@ -48,7 +48,7 @@ sub create {
     $spawn_opts{from_pipe} = \*$self->{tar_input};
     # Call tar creation process
     $spawn_opts{delete_env} = [ 'TAR_OPTIONS' ];
-    $spawn_opts{exec} = [ 'tar', '--null', '-T', '-', '--numeric-owner',
+    $spawn_opts{exec} = [ 'gtar', '--null', '-T', '-', '--numeric-owner',
                             '--owner', '0', '--group', '0', '--format=gnu',
                             @{$opts{options}}, '-cf', '-' ];
     *$self->{pid} = spawn(%spawn_opts);
@@ -125,7 +125,7 @@ sub extract {
 
     # Call tar extraction process
     $spawn_opts{delete_env} = [ 'TAR_OPTIONS' ];
-    $spawn_opts{exec} = [ 'tar', '--no-same-owner', '--no-same-permissions',
+    $spawn_opts{exec} = [ 'gtar', '--no-same-owner', '--no-same-permissions',
                             @{$opts{options}}, '-xf', '-' ];
     spawn(%spawn_opts);
     $self->close();
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 8ffae3a..12ceb32 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -120,7 +120,7 @@ nobase_dist_perllib_DATA = \
 man3_MANS =
 
 do_perl_subst = $(AM_V_GEN) \
-		sed -e "s:^\#![[:space:]]*/usr/bin/perl:\#!$(PERL):" \
+		sed -e "s:^\#![[:space:]]*/usr/bin/perl:\#!$(PERL) -I$(PERL_LIBDIR):" \
 		    -e "s:\$$CONFDIR[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$CONFDIR='$(pkgconfdir)':" \
 		    -e "s:\$$ADMINDIR[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$ADMINDIR='$(admindir)':" \
 		    -e "s:\$$LIBDIR[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$LIBDIR='$(pkglibdir)':" \
diff --git a/scripts/Makefile.in b/scripts/Makefile.in
index 754f423..e131341 100644
--- a/scripts/Makefile.in
+++ b/scripts/Makefile.in
@@ -513,7 +513,7 @@ nobase_dist_perllib_DATA = \
 # Keep it even if empty to have man3dir correctly set
 man3_MANS = 
 do_perl_subst = $(AM_V_GEN) \
-		sed -e "s:^\#![[:space:]]*/usr/bin/perl:\#!$(PERL):" \
+		sed -e "s:^\#![[:space:]]*/usr/bin/perl:\#!$(PERL) -I$(PERL_LIBDIR):" \
 		    -e "s:\$$CONFDIR[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$CONFDIR='$(pkgconfdir)':" \
 		    -e "s:\$$ADMINDIR[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$ADMINDIR='$(admindir)':" \
 		    -e "s:\$$LIBDIR[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$LIBDIR='$(pkglibdir)':" \

Reply to: