ada07b1128
2019-01-24 Richard W.M. Jones <rjones@redhat.com> Update gnulib to latest. Includes various fixes to --as-needed support. See: https://lists.gnu.org/archive/html/bug-gnulib/2019-01/threads.html#00123 2019-01-22 Richard W.M. Jones <rjones@redhat.com> Version 1.3.17. 2019-01-22 Michael Meyer <mmeyer@datto.com> lib: Reset errno to zero to avoid erroneously returning E2BIG This line was accidentally removed in 77fe74fc, causing bug #1145056 (Bugzilla) to resurface. 2019-01-17 Richard W.M. Jones <rjones@redhat.com> Version 1.3.16. Update gnulib to latest. 2019-01-17 Pino Toscano <ptoscano@redhat.com> ruby: improve test functions Use better functions to check for proper values instead of assert: - refute_nil for non-null functions - assert_equal for checking equality Also, make sure that the parameters for assert_equal are correct: expected value, then got value. 2019-01-16 Pino Toscano <ptoscano@redhat.com> perl: fix format of croak for RLenValue When calling croak on failure in the Perl code for RLenValue, add the %s placeholder for the strerror result. This makes the croak call just like all the others. Fixes commit 87e1be8ff3431ac81d721d5f647fc85d02e045dc. 2018-02-26 Richard W.M. Jones <rjones@redhat.com> ocaml: Link the C bindings with LDFLAGS (RHBZ#1548536). Use the ocamlmklib -ldopt flag to pass the general $(LDFLAGS) when calling gcc to link dllmlhivex.so. We were already passing $(CFLAGS) when building the object file. When building using Fedora's standard hardening flags this gives: ocamlmklib -o mlhivex hivex_c.o hivex.cmo \ -verbose -ldopt '-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' \ -L../lib/.libs -lhivex + gcc -shared -o ./dllmlhivex.so hivex_c.o -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L../lib/.libs -lhivex + ar rc ./libmlhivex.a hivex_c.o; ranlib ./libmlhivex.a + /usr/bin/ocamlc -a -o mlhivex.cma hivex.cmo -dllib -lmlhivex -cclib -lmlhivex -cclib -L../lib/.libs -cclib -lhivex This also works if $(LDFLAGS) is empty, because ocamlmklib ignores -ldopt ''.
39 lines
933 B
Makefile
39 lines
933 B
Makefile
# $NetBSD: Makefile,v 1.6 2019/12/31 13:33:26 mef Exp $
|
|
|
|
DISTNAME= hivex-1.3.18
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://download.libguestfs.org/hivex/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://libguestfs.org/
|
|
COMMENT= Library for reading Windows Registry "hive" files
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
EXTRACT_USING= bsdtar
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= gmake perl pkg-config
|
|
USE_LIBTOOL= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
PKGCONFIG_OVERRIDE+= hivex.pc.in
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
REPLACE_SH+= sh/hivexget
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
PLIST_VARS+= tools
|
|
.if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
|
|
CONFIGURE_ENV+= ac_cv_func_open_memstream=no
|
|
.else
|
|
PLIST.tools=yes
|
|
.include "../../archivers/xz/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
.endif
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|