diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/fblogo/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/fblogo/files')
-rw-r--r-- | media-gfx/fblogo/files/fblogo-0.5.2-cross.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/media-gfx/fblogo/files/fblogo-0.5.2-cross.patch b/media-gfx/fblogo/files/fblogo-0.5.2-cross.patch new file mode 100644 index 000000000000..dfcb2871a347 --- /dev/null +++ b/media-gfx/fblogo/files/fblogo-0.5.2-cross.patch @@ -0,0 +1,36 @@ +--- Makefile 2003-09-28 10:33:24.000000000 +0000 ++++ Makefile 2008-05-18 19:05:12.000000000 +0000 +@@ -1,24 +1,28 @@ +-CC = gcc ++CC ?= gcc + LIBS = -lpng -lz -lm +-CFLAGS = -g -O2 -W -Wall -DPNG_SETJMP_NOT_SUPPORTED +- ++CFLAGS ?= -g -O2 -W -Wall ++CFLAGS += -DPNG_SETJMP_NOT_SUPPORTED ++LDFLAGS = + INSTALL = /usr/bin/install + INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644 + INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 + INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 755 + + DESTDIR = +-PREFIX = /usr/local ++PREFIX = /usr + BINDIR = ${PREFIX}/bin + MANDIR = ${PREFIX}/share/man + + fblogo: fblogo.c +- $(CC) -o fblogo $(CFLAGS) $(INCLUDES) $(LIBS) fblogo.c ++ $(CC) -o fblogo $(CFLAGS) $(INCLUDES) $(LDFLAGS) $(LIBS) fblogo.c + + clean:: + -rm -f *.o fblogo + + install: ++ mkdir -p ${DESTDIR}${PREFIX} ++ mkdir -p ${DESTDIR}${BINDIR} ++ mkdir -p ${DESTDIR}${MANDIR}/man1 + ${INSTALL_PROGRAM} fblogo ${DESTDIR}${BINDIR} + ${INSTALL_SCRIPT} fblogo_patch ${DESTDIR}${BINDIR} + ${INSTALL_FILE} fblogo.1 ${DESTDIR}${MANDIR}/man1 |