]> git.pld-linux.org Git - packages/bjorb.git/commitdiff
- allow to build on PLD.
authortwittner <twittner@pld-linux.org>
Wed, 11 Aug 2004 21:42:33 +0000 (21:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bjorb-Makefile.in.patch -> 1.1
    bjorb-sysconfdir.patch -> 1.1

bjorb-Makefile.in.patch [new file with mode: 0644]
bjorb-sysconfdir.patch [new file with mode: 0644]

diff --git a/bjorb-Makefile.in.patch b/bjorb-Makefile.in.patch
new file mode 100644 (file)
index 0000000..a88884e
--- /dev/null
@@ -0,0 +1,43 @@
+diff -Nura bjorb-0.5.5p1/src/Makefile.in bjorb-0.5.5p1.new/src/Makefile.in
+--- bjorb-0.5.5p1/src/Makefile.in      2004-08-11 21:31:14.000000000 +0200
++++ bjorb-0.5.5p1.new/src/Makefile.in  2004-08-11 21:55:49.000000000 +0200
+@@ -29,10 +29,11 @@
+ LDFLAGS =
+ LIBS = @LIBS@
++DESTDIR =
+ PREFIX ?= @prefix@
+ exec_prefix = $(PREFIX)
+-sbindir = $(exec_prefix)/sbin
+-etcdir = $(exec_prefix)/etc
++sbindir = @sbindir@
++etcdir = @sysconfdir@ 
+ CC = @CC@
+ RM = rm -rf
+@@ -45,9 +46,8 @@
+ ### SSL Configuration
+-SSLTOP      = @ssltop@
+-SSL_CFLAGS  = -I$(SSLTOP)/include
+-SSL_LDFLAGS = -L$(SSLTOP)/lib
++INCLUDEDIR = @includedir@
++SSL_CFLAGS  = -I$(INCLUDEDIR)/openssl
+ SSL_LIBS    = @ssllibs@
+ ###
+@@ -76,9 +76,10 @@
+ all:: $(TARGET)
+ install:: $(TARGET)
+-      $(INSTALL_PROGRAM) $(TARGET) $(sbindir)/$(TARGET)
+-      @if test ! -d $(etcdir) ; then mkdir $(etcdir); fi
+-      $(INSTALL_DATA) ../doc/sample/bjorb.conf.sample $(etcdir)/bjorb.conf.sample
++      @if test ! -d $(DESTDIR)$(sbindir) ; then mkdir -p $(DESTDIR)$(sbindir); fi
++      $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(sbindir)/$(TARGET)
++      @if test ! -d $(DESTDIR)$(etcdir) ; then mkdir -p $(DESTDIR)$(etcdir); fi
++      $(INSTALL_DATA) ../doc/sample/bjorb.conf.sample $(DESTDIR)$(etcdir)
+ $(TARGET): $(OBJS)
+       $(CXX) -o $(TARGET) $(ALL_LDFLAGS) $(OBJS) $(ALL_LIBS)
diff --git a/bjorb-sysconfdir.patch b/bjorb-sysconfdir.patch
new file mode 100644 (file)
index 0000000..b8fb63f
--- /dev/null
@@ -0,0 +1,12 @@
+diff -Nura bjorb-0.5.5p1/src/common.h.in bjorb-0.5.5p1.new/src/common.h.in
+--- bjorb-0.5.5p1/src/common.h.in      1999-02-22 03:40:47.000000000 +0100
++++ bjorb-0.5.5p1.new/src/common.h.in  2004-08-11 22:11:37.000000000 +0200
+@@ -15,7 +15,7 @@
+ #define LINEBUFSIZ 256
+-#define CONFIG_FILE_SEARCH_PATH ".;@prefix@/etc/"
++#define CONFIG_FILE_SEARCH_PATH ".;@sysconfdir@"
+ #define CONFIG_FILE_NAME        "bjorb.conf"
+ #define PIDFILE   "@PIDFILE@"
This page took 0.089046 seconds and 4 git commands to generate.