diff options
author | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2016-02-01 23:47:51 +0000 |
---|---|---|
committer | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2016-02-01 23:47:51 +0000 |
commit | 3e07041fa18c14c141c4b51728abe83d984033f3 (patch) | |
tree | 10dfd817864b0261b94d279cd15c88c41d85ce65 /sysutils | |
parent | 3c6e1f4e3db273a223896462ef26acbd9d879898 (diff) | |
download | ports-3e07041fa18c14c141c4b51728abe83d984033f3.tar.gz ports-3e07041fa18c14c141c4b51728abe83d984033f3.zip |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/bareos-client-static/Makefile | 4 | ||||
-rw-r--r-- | sysutils/bareos-client/Makefile | 2 | ||||
-rw-r--r-- | sysutils/bareos-server/files/patch-src-console-Makefile.in | 25 | ||||
-rw-r--r-- | sysutils/bareos-server/files/patch-src-filed-Makefile.in | 27 |
4 files changed, 52 insertions, 6 deletions
diff --git a/sysutils/bareos-client-static/Makefile b/sysutils/bareos-client-static/Makefile index bd1283299d3a..1f0fe26511d8 100644 --- a/sysutils/bareos-client-static/Makefile +++ b/sysutils/bareos-client-static/Makefile @@ -22,6 +22,8 @@ CONFIGURE_ARGS+= --enable-client-only \ --enable-static-cons \ --disable-libtool \ --disable-build-dird \ - --disable-build-stored + --disable-build-stored \ + --with-jansson=${LOCALBASE} + .include "${MASTERDIR}/Makefile" diff --git a/sysutils/bareos-client/Makefile b/sysutils/bareos-client/Makefile index 7452be67ffc7..042fbd2dbbdb 100644 --- a/sysutils/bareos-client/Makefile +++ b/sysutils/bareos-client/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= bareos -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= -client COMMENT= Backup archiving recovery open sourced (client) diff --git a/sysutils/bareos-server/files/patch-src-console-Makefile.in b/sysutils/bareos-server/files/patch-src-console-Makefile.in new file mode 100644 index 000000000000..225afb42ca67 --- /dev/null +++ b/sysutils/bareos-server/files/patch-src-console-Makefile.in @@ -0,0 +1,25 @@ +--- src/console/Makefile.in 2015-12-03 03:22:54.000000000 -0500 ++++ src/console/Makefile.in 2016-02-01 18:21:25.511282000 -0500 +@@ -29,6 +29,7 @@ + CONS_LDFLAGS = @CONS_LDFLAGS@ + + JANSSON_CPPFLAGS = @JANSSON_INC@ ++JANSSON_LDFLAGS = @JANSSON_LIBS@ + + INCLUDES += -I$(srcdir) -I$(basedir) -I$(basedir)/include + +@@ -52,12 +53,12 @@ + bconsole: Makefile $(CONSOBJS) ../lib/libbareos$(DEFAULT_ARCHIVE_TYPE) ../lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) + $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) $(CONS_LDFLAGS) -L../lib -L../cats -o $@ $(CONSOBJS) \ + $(DLIB) $(CONS_LIBS) -lbareoscfg -lbareos -lm $(LIBS) $(GETTEXT_LIBS) \ +- $(OPENSSL_LIBS_NONSHARED) $(GNUTLS_LIBS_NONSHARED) ++ $(OPENSSL_LIBS_NONSHARED) $(GNUTLS_LIBS_NONSHARED) $(JANSSON_LDFLAGS) + + static-bconsole: Makefile $(CONSOBJS) ../lib/libbareos.a ../lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) + $(LIBTOOL_LINK) $(CXX) -static $(LDFLAGS) $(CONS_LDFLAGS) -L../lib -L../cats -o $@ $(CONSOBJS) \ + $(DLIB) $(CONS_LIBS) -lbareoscfg -lbareos -lm $(LIBS) $(GETTEXT_LIBS) \ +- $(OPENSSL_LIBS) $(GNUTLS_LIBS) ++ $(OPENSSL_LIBS) $(GNUTLS_LIBS) $(JANSSON_LDFLAGS) + strip $@ + + diff --git a/sysutils/bareos-server/files/patch-src-filed-Makefile.in b/sysutils/bareos-server/files/patch-src-filed-Makefile.in index c3a9a4ac70c4..ff195cec7673 100644 --- a/sysutils/bareos-server/files/patch-src-filed-Makefile.in +++ b/sysutils/bareos-server/files/patch-src-filed-Makefile.in @@ -1,11 +1,30 @@ ---- src/filed/Makefile.in 2015-08-08 14:17:28.058350000 -0500 -+++ src/filed/Makefile.in 2015-08-08 14:17:49.001877000 -0500 -@@ -84,7 +84,7 @@ +--- src/filed/Makefile.in 2015-12-03 03:22:54.000000000 -0500 ++++ src/filed/Makefile.in 2016-02-01 18:17:25.879376000 -0500 +@@ -25,6 +25,7 @@ + GNUTLS_LIBS_NONSHARED = @GNUTLS_LIBS_NONSHARED@ + + JANSSON_CPPFLAGS = @JANSSON_INC@ ++JANSSON_LDFLAGS = @JANSSON_LIBS@ + COMPRESS_CPPFLAGS += @ZLIB_INC@ @LZO_INC@ @FASTLZ_INC@ + + first_rule: all +@@ -76,7 +77,7 @@ + @echo "Linking $@ ..." + $(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ $(SVROBJS) \ + $(FDLIBS) -lbareosfind -lbareoscfg -lbareos -lm $(LIBS) \ +- $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS_NONSHARED) $(GNUTLS_LIBS_NONSHARED) ++ $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS_NONSHARED) $(GNUTLS_LIBS_NONSHARED) $(JANSSON_LDFLAGS) + + static-bareos-fd: Makefile $(SVROBJS) \ + ../findlib/libbareosfind.a \ +@@ -84,8 +85,8 @@ ../lib/libbareos$(DEFAULT_ARCHIVE_TYPE) @echo "Linking $@ ..." $(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -static -L../lib -L../findlib -o $@ $(SVROBJS) \ - $(FDLIBS) -lbareosfind -lbareoscfg -lbareos -lm $(LIBS) \ +- $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(GNUTLS_LIBS) + -lbareosfind -lbareoscfg -lbareos -lm $(FDLIBS) $(LIBS) \ - $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(GNUTLS_LIBS) ++ $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(GNUTLS_LIBS) $(JANSSON_LDFLAGS) strip $@ + Makefile: $(srcdir)/Makefile.in $(topdir)/config.status |