74ca47
From a1c4718d9db069ab088914ec983af8125eba3ac6 Mon Sep 17 00:00:00 2001
74ca47
From: Mark Reynolds <mreynolds@redhat.com>
74ca47
Date: Fri, 31 Mar 2017 09:34:27 -0400
74ca47
Subject: [PATCH] Issue 49177 - Fix pkg-config file
74ca47
74ca47
Description:  Need to remove the slash in front of the package name
74ca47
74ca47
https://pagure.io/389-ds-base/issue/49177
74ca47
74ca47
Reviewed by: lslebodn & wibrown (Thanks!!)
74ca47
---
74ca47
 Makefile.am  | 4 ++--
74ca47
 configure.ac | 4 ++--
74ca47
 2 files changed, 4 insertions(+), 4 deletions(-)
74ca47
74ca47
diff --git a/Makefile.am b/Makefile.am
74ca47
index 982dd28..485a460 100644
74ca47
--- a/Makefile.am
74ca47
+++ b/Makefile.am
74ca47
@@ -261,7 +261,7 @@ sampledatadir = $(datadir)@sampledatadir@
74ca47
 systemschemadir = $(datadir)@systemschemadir@
74ca47
 propertydir = $(datadir)@propertydir@
74ca47
 schemadir = $(sysconfdir)@schemadir@
74ca47
-serverdir = $(libdir)@serverdir@
74ca47
+serverdir = $(libdir)/@serverdir@
74ca47
 serverplugindir = $(libdir)@serverplugindir@
74ca47
 taskdir = $(datadir)@scripttemplatedir@
74ca47
 systemdsystemunitdir = @with_systemdsystemunitdir@
74ca47
@@ -276,7 +276,7 @@ infdir = $(datadir)@infdir@
74ca47
 mibdir = $(datadir)@mibdir@
74ca47
 updatedir = $(datadir)@updatedir@
74ca47
 pkgconfigdir = $(libdir)/pkgconfig
74ca47
-serverincdir = $(includedir)@serverincdir@
74ca47
+serverincdir = $(includedir)/@serverincdir@
74ca47
 
74ca47
 defaultuser=@defaultuser@
74ca47
 defaultgroup=@defaultgroup@
74ca47
diff --git a/configure.ac b/configure.ac
74ca47
index 8172bab..51c4414 100644
74ca47
--- a/configure.ac
74ca47
+++ b/configure.ac
74ca47
@@ -361,9 +361,9 @@ else
74ca47
   # relative to datadir
74ca47
   updatedir=/$PACKAGE_NAME/updates
74ca47
   # relative to libdir
74ca47
-  serverdir=/$PACKAGE_NAME
74ca47
+  serverdir=$PACKAGE_NAME
74ca47
   # relative to includedir
74ca47
-  serverincdir=/$PACKAGE_NAME
74ca47
+  serverincdir=$PACKAGE_NAME
74ca47
   # relative to libdir
74ca47
   serverplugindir=/$PACKAGE_NAME/plugins
74ca47
   # relative to datadir
74ca47
-- 
74ca47
2.9.3
74ca47