diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/libclxclient/files/libclxclient-1.0.1-makefile.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/libclxclient/files/libclxclient-1.0.1-makefile.patch')
-rw-r--r-- | media-libs/libclxclient/files/libclxclient-1.0.1-makefile.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/media-libs/libclxclient/files/libclxclient-1.0.1-makefile.patch b/media-libs/libclxclient/files/libclxclient-1.0.1-makefile.patch new file mode 100644 index 000000000000..c254e5f1e05f --- /dev/null +++ b/media-libs/libclxclient/files/libclxclient-1.0.1-makefile.patch @@ -0,0 +1,30 @@ +Index: clxclient-1.0.1/Makefile +=================================================================== +--- clxclient-1.0.1.orig/Makefile ++++ clxclient-1.0.1/Makefile +@@ -1,5 +1,5 @@ + CPPFLAGS += -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 +-LDFLAGS += -L/usr/X11R6/lib ++LDFLAGS += + LDLIBS += + + +@@ -17,14 +17,13 @@ CLXCLIENT_H = clxclient.h + + + $(CLXCLIENT_MIN): $(CLXCLIENT_O) +- g++ -shared $(LDFLAGS) -Wl,-soname,$(CLXCLIENT_MAJ) -o $(CLXCLIENT_MIN) $(CLXCLIENT_O) $(CLXCLIENT_DEP) ++ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(CLXCLIENT_MAJ) -o $(CLXCLIENT_MIN) $(CLXCLIENT_O) $(CLXCLIENT_DEP) + + + install: $(CLXCLIENT_MIN) +- cp -f $(CLXCLIENT_H) $(CLXCLIENT_INCDIR) +- cp -f $(CLXCLIENT_MIN) $(CLXCLIENT_LIBDIR) +- /sbin/ldconfig -n $(CLXCLIENT_LIBDIR) +- ln -sf $(CLXCLIENT_MIN) $(CLXCLIENT_LIBDIR)/$(CLXCLIENT_SO) ++ install -D $(CLXCLIENT_H) $(DESTDIR)$(CLXCLIENT_INCDIR)/$(CLXCLIENT_H) ++ install -D $(CLXCLIENT_MIN) $(DESTDIR)$(CLXCLIENT_LIBDIR)/$(CLXCLIENT_MIN) ++ ln -sf $(CLXCLIENT_MIN) $(DESTDIR)$(CLXCLIENT_LIBDIR)/$(CLXCLIENT_SO) + + + clean: |