diff options
author | Ned Ludd <solar@gentoo.org> | 2008-09-21 06:53:32 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2008-09-21 06:53:32 +0000 |
commit | 4fef7c4e6251cf7bd049994f8c9d77215ac53028 (patch) | |
tree | 38c4228469a35304ce0e70302b7f77e4a1f8e984 /media-gfx/fblogo/files | |
parent | Drop bindnow-flags usage #227005. (diff) | |
download | historical-4fef7c4e6251cf7bd049994f8c9d77215ac53028.tar.gz historical-4fef7c4e6251cf7bd049994f8c9d77215ac53028.tar.bz2 historical-4fef7c4e6251cf7bd049994f8c9d77215ac53028.zip |
- make cross compile aware and keyword ~arm
Package-Manager: portage-2.1.4.4
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 |