public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in x11-wm/scrotwm/files: scrotwm-0.9.28-makefile.patch
@ 2011-06-11 17:02 Michael Weber (xmw)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Weber (xmw) @ 2011-06-11 17:02 UTC (permalink / raw
  To: gentoo-commits

xmw         11/06/11 17:02:51

  Added:                scrotwm-0.9.28-makefile.patch
  Log:
  Initial import
  
  (Portage version: 2.1.9.42/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  x11-wm/scrotwm/files/scrotwm-0.9.28-makefile.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/scrotwm/files/scrotwm-0.9.28-makefile.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/scrotwm/files/scrotwm-0.9.28-makefile.patch?rev=1.1&content-type=text/plain

Index: scrotwm-0.9.28-makefile.patch
===================================================================
--- 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)






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in x11-wm/scrotwm/files: scrotwm-0.9.28-makefile.patch
@ 2011-11-11  0:24 Michael Weber (xmw)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Weber (xmw) @ 2011-11-11  0:24 UTC (permalink / raw
  To: gentoo-commits

xmw         11/11/11 00:24:34

  Removed:              scrotwm-0.9.28-makefile.patch
  Log:
  Remove old versions
  
  (Portage version: 2.1.10.11/cvs/Linux x86_64)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-11  0:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-11 17:02 [gentoo-commits] gentoo-x86 commit in x11-wm/scrotwm/files: scrotwm-0.9.28-makefile.patch Michael Weber (xmw)
  -- strict thread matches above, loose matches on Subject: below --
2011-11-11  0:24 Michael Weber (xmw)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox