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