diff options
author | Michael Weber <xmw@gentoo.org> | 2011-06-11 17:02:51 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2011-06-11 17:02:51 +0000 |
commit | 8e0cae7c09073461b011875cb4d88604eff5bbaa (patch) | |
tree | ffa61337d4a8a025cf197675210757ae9f734e46 /x11-wm/scrotwm/files/scrotwm-0.9.28-makefile.patch | |
parent | Fix build failure (bug #351285). Install man page in the appropriate place (b... (diff) | |
download | gentoo-2-8e0cae7c09073461b011875cb4d88604eff5bbaa.tar.gz gentoo-2-8e0cae7c09073461b011875cb4d88604eff5bbaa.tar.bz2 gentoo-2-8e0cae7c09073461b011875cb4d88604eff5bbaa.zip |
Initial import
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'x11-wm/scrotwm/files/scrotwm-0.9.28-makefile.patch')
-rw-r--r-- | x11-wm/scrotwm/files/scrotwm-0.9.28-makefile.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/x11-wm/scrotwm/files/scrotwm-0.9.28-makefile.patch b/x11-wm/scrotwm/files/scrotwm-0.9.28-makefile.patch new file mode 100644 index 000000000000..57c7fdee6050 --- /dev/null +++ b/x11-wm/scrotwm/files/scrotwm-0.9.28-makefile.patch @@ -0,0 +1,34 @@ +--- scrotwm-0.9.28/linux/Makefile ++++ scrotwm-0.9.28/linux/Makefile +@@ -1,7 +1,7 @@ + # $scrotwm: Makefile,v 1.5 2010/09/16 02:00:51 marco Exp $ + +-CFLAGS+= -Wall -ggdb -D_GNU_SOURCE -I. +-CFLAGS+= -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\" ++CFLAGS+= -D_GNU_SOURCE -I. ++CFLAGS+= -DSWM_LIB=\"libswmhack.so.$(LVERS)\" + LDADD+= -lX11 -lXrandr + + PREFIX?= /usr/local +@@ -9,7 +9,7 @@ + LIBDIR?= $(PREFIX)/lib + MANDIR?= $(PREFIX)/share/man + +-CC= gcc ++CC?= gcc + + LVERS= $(shell . ../lib/shlib_version; echo $$major.$$minor) + +@@ -25,10 +25,10 @@ + $(CC) $(LDFLAGS) -o $@ $+ $(LDADD) + + %.so: %.c +- $(CC) $(CFLAGS) -c -fpic -DPIC $+ -o $@ ++ $(CC) $(LDFLAGS) $(CFLAGS) -c -fpic $+ -o $@ + + libswmhack.so.$(LVERS): swm_hack.so +- $(CC) -shared -fpic -o libswmhack.so.$(LVERS) swm_hack.so $(LDADD) ++ $(CC) $(LDFLAGS) -Wl,-soname,$@ -shared -fpic -o libswmhack.so.$(LVERS) swm_hack.so $(LDADD) + + install: all + install -m 755 -d $(DESTDIR)$(BINDIR) |