diff options
author | David Seifert <soap@gentoo.org> | 2018-04-18 21:54:16 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2018-04-18 21:57:18 +0200 |
commit | 1184156dec55cc4ca0133c7b9464f63a91e2709c (patch) | |
tree | a6c64d3e346d127b12330630a934b30938f876bb /media-gfx/gozer/files/gozer-0.7-fix-build-system.patch | |
parent | x11-misc/Xorgautoconfig: remove last rited package (diff) | |
download | gentoo-1184156dec55cc4ca0133c7b9464f63a91e2709c.tar.gz gentoo-1184156dec55cc4ca0133c7b9464f63a91e2709c.tar.bz2 gentoo-1184156dec55cc4ca0133c7b9464f63a91e2709c.zip |
media-gfx/gozer: [QA] Cleanup ebuild
Package-Manager: Portage-2.3.30, Repoman-2.3.9
Diffstat (limited to 'media-gfx/gozer/files/gozer-0.7-fix-build-system.patch')
-rw-r--r-- | media-gfx/gozer/files/gozer-0.7-fix-build-system.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/media-gfx/gozer/files/gozer-0.7-fix-build-system.patch b/media-gfx/gozer/files/gozer-0.7-fix-build-system.patch new file mode 100644 index 000000000000..6102fe9c64c8 --- /dev/null +++ b/media-gfx/gozer/files/gozer-0.7-fix-build-system.patch @@ -0,0 +1,51 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -5,14 +5,9 @@ + # A list of all the files in the current directory which can be regenerated + MAINTAINERCLEANFILES = Makefile.in gozer.spec + +-LDFLAGS = -L/usr/X11R6/lib -L/usr/lib -L/usr/local/lib +-INCLUDES = -I/usr/X11R6/include \ +-$(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I. +- + man_MANS = gozer.1 + +-docs_DATA = README AUTHORS ChangeLog TODO +-docsdir = $(prefix)/doc/@PACKAGE@ ++doc_DATA = README AUTHORS ChangeLog TODO + + EXTRA_DIST = \ + gozer.spec gozer.1 $(docs_DATA) +--- a/src/fonts/Makefile.am ++++ b/src/fonts/Makefile.am +@@ -8,6 +8,6 @@ + fonts_DATA = \ + helmetr.ttf + +-fontsdir=$(prefix)/share/@PACKAGE@/fonts ++fontsdir=$(prefix)/share/$(PACKAGE)/fonts + + EXTRA_DIST = $(fonts_DATA) +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -1,15 +1,13 @@ + # A list of all the files in the current directory which can be regenerated +-MAINTAINERCLEANFILES = Makefile.in ++MAINTAINERCLEANFILES = Makefile.in + + SUBDIRS = fonts + +-LDFLAGS = -L/usr/X11R6/lib +-INCLUDES = -g -O3 -Wall -I/usr/X11R6/include \ +-$(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I. \ +--DPREFIX=\""$(prefix)"\" @GIBLIB_CFLAGS@ +-LIBOBJS = @LIBOBJS@ ++AM_CPPFLAGS = -Wall -I/usr/X11R6/include \ ++ $(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I. \ ++ -DPREFIX=\""$(prefix)"\" $(GIBLIB_CFLAGS) + + bin_PROGRAMS = gozer + gozer_SOURCES = main.c getopt.c getopt1.c getopt.h gozer.h \ + options.c options.h debug.h utils.c utils.h imlib.c structs.h +-gozer_LDADD = @GIBLIB_LIBS@ ++gozer_LDADD = $(GIBLIB_LIBS) -L/usr/X11R6/lib |