From 0615e48e67a9da1cf7936c9841824bb07d22b1f9 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Fix build if xmlrpc-light package is missing. --- extract/fedora-koji/Makefile.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/extract/fedora-koji/Makefile.in b/extract/fedora-koji/Makefile.in index e91a3dc..9af56f3 100644 --- a/extract/fedora-koji/Makefile.in +++ b/extract/fedora-koji/Makefile.in @@ -25,11 +25,7 @@ bindir = @bindir@ pkg_xmlrpc_light = @pkg_xmlrpc_light@ -OCAMLCPACKAGES = - -ifneq ($(pkg_xmlrpc_light),no) -OCAMLCPACKAGES += -package xmlrpc-light,extlib -endif +OCAMLCPACKAGES = -package extlib,xmlrpc-light OCAMLCFLAGS = @OCAMLCFLAGS@ OCAMLCLIBS = -linkpkg @@ -38,7 +34,11 @@ OCAMLOPTFLAGS = @OCAMLOPTFLAGS@ OCAMLOPTPACKAGES = $(OCAMLCPACKAGES) OCAMLOPTLIBS = -linkpkg +ifneq ($(pkg_xmlrpc_light),no) TARGETS = fedora-koji-download-kernels.opt +else +TARGETS = +endif OBJS = fedora_koji_download_kernels.cmo XOBJS = $(OBJS:.cmo=.cmx) -- 1.8.3.1