summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/glcdprocdriver/files/glcdprocdriver-0.0.3-makefile.patch')
-rw-r--r--app-misc/glcdprocdriver/files/glcdprocdriver-0.0.3-makefile.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/app-misc/glcdprocdriver/files/glcdprocdriver-0.0.3-makefile.patch b/app-misc/glcdprocdriver/files/glcdprocdriver-0.0.3-makefile.patch
new file mode 100644
index 000000000000..51b93347acf1
--- /dev/null
+++ b/app-misc/glcdprocdriver/files/glcdprocdriver-0.0.3-makefile.patch
@@ -0,0 +1,22 @@
+--- ./Makefile 2006-10-05 08:37:03.000000000 +0000
++++ ./Makefile 2007-04-07 19:06:00.000000000 +0000
+@@ -11,6 +11,8 @@
+ PACKAGE = $(ARCHIVE)
+ TMPDIR = /tmp
+
++LIBS=-lglcddrivers -lglcdgraphics
++
+
+ LIBNAME = libglcdprocdriver.so
+ SONAME = $(LIBNAME).1
+@@ -24,6 +26,9 @@
+
+ all: $(LIBNAME)
+
++$(OBJS): %.o: %.c
++ $(CXX) -c -fPIC $(CXXFLAGS) $< -o $@
++
+ $(LIBNAME): $(OBJS)
+- $(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -Wl,-soname="$(SONAME)" -o $@
++ $(CXX) $(LDFLAGS) -shared $(OBJS) $(LIBS) -Wl,-soname="$(SONAME)" -o $@
+