forked from ports/contrib
nvclock: build fix thank you Mikhail Kolesnik
This commit is contained in:
parent
f5f85b66bc
commit
4ccae0993c
@ -1 +1,2 @@
|
||||
7a18d49154bbe4e8fd0569d226cc0c49 nvclock-linkeropts.diff
|
||||
23f1b3ebf40f35d76d5fdac50f66ab11 nvclock0.8b4.tar.gz
|
||||
|
@ -6,12 +6,14 @@
|
||||
|
||||
name=nvclock
|
||||
version=0.8b4
|
||||
release=1
|
||||
source=(http://www.linuxhardware.org/nvclock/nvclock$version.tar.gz)
|
||||
release=2
|
||||
source=(http://www.linuxhardware.org/nvclock/nvclock$version.tar.gz
|
||||
$name-linkeropts.diff)
|
||||
|
||||
build() {
|
||||
cd $name$version
|
||||
|
||||
patch -p 1 -i $SRC/$name-linkeropts.diff
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--disable-qt \
|
||||
|
12
nvclock/nvclock-linkeropts.diff
Normal file
12
nvclock/nvclock-linkeropts.diff
Normal file
@ -0,0 +1,12 @@
|
||||
diff -Nru nvclock0.8b4.orig/src/gtk/Makefile.in nvclock0.8b4/src/gtk/Makefile.in
|
||||
--- nvclock0.8b4.orig/src/gtk/Makefile.in 2012-12-15 18:45:24.850837856 +0200
|
||||
+++ nvclock0.8b4/src/gtk/Makefile.in 2012-12-15 18:50:14.321618647 +0200
|
||||
@@ -20,7 +20,7 @@
|
||||
ifeq ($(HAVE_NVCONTROL), yes)
|
||||
DEPS=$(libbackend) $(libnvcontrol)
|
||||
INCLUDES=@X11_CFLAGS@ -I./backend -I./nvcontrol -I.. -I../..
|
||||
- LIBS=@GTK_LIBS@ -L../backend -lbackend -L../nvcontrol -lnvcontrol
|
||||
+ LIBS=@GTK_LIBS@ -L../backend -lbackend -L../nvcontrol -lnvcontrol -lXext -lX11 -ldl
|
||||
OBJECTS=banner.o gl.o hw.o main.o settings.o
|
||||
else
|
||||
DEPS=$(libbackend)
|
Loading…
x
Reference in New Issue
Block a user