X-Git-Url: http://git.pld-linux.org/?p=packages%2Fbjorb.git;a=blobdiff_plain;f=bjorb-Makefile.in.patch;fp=bjorb-Makefile.in.patch;h=a88884e8902c0f0e72724bcd8498fbb131441ca8;hp=0000000000000000000000000000000000000000;hb=0d471e442251d5d5a7e3492bf3e153158333b63a;hpb=3379d8d09795e042df53c11339499061f7af5590 diff --git a/bjorb-Makefile.in.patch b/bjorb-Makefile.in.patch new file mode 100644 index 0000000..a88884e --- /dev/null +++ b/bjorb-Makefile.in.patch @@ -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)