Project

General

Profile

Actions

Feature #2415

open

epglv/Makefile die Variable DESTDIR umbenennen nach MYSQL_PLG_DIR

Added by marco almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Start date:
06/02/2016
Due date:
% Done:

0%

Estimated time:

Description

Hallo,

kann du bitte die Variable DESTDIR in der Datei epglv/Makefile umbenennen nach z.B. MYSQL_PLG_DIR,
da ich für das FEDORA Paket, DESTDIR bereits für die RPM Buildumgebung verwende ?

Danke Martin

Actions #1

Updated by marco almost 8 years ago

Mit folgendem epglv/Makefile.patch funktionierts:

--- Makefile.orig    2016-06-02 15:38:06.168590824 +0200
+++ Makefile    2016-06-02 15:37:15.254353444 +0200
@@ -21,7 +21,7 @@

 CC = gcc

-DESTDIR = $(shell mysql_config --plugindir)
+MYSQL_PLG_DIR := $(shell mysql_config --plugindir)
 TARGET  = mysqlepglv.so
 OBJS    = src/epglvbase.o src/epglv.o

@@ -33,7 +33,7 @@
 install: $(TARGET)
     strip $(TARGET)
     if ! test -f $(DESTDIR)/$(TARGET); then \
-       install --mode=644 $(TARGET) $(DESTDIR); \
+       install --mode=644 $(TARGET) $(DESTDIR)/$(MYSQL_PLG_DIR); \
     fi

 clean:

Actions #2

Updated by horchi almost 8 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF