diff options
Diffstat (limited to 'net-mgmt/yabm/files/patch-Makefile')
-rw-r--r-- | net-mgmt/yabm/files/patch-Makefile | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/net-mgmt/yabm/files/patch-Makefile b/net-mgmt/yabm/files/patch-Makefile new file mode 100644 index 000000000000..680280badd03 --- /dev/null +++ b/net-mgmt/yabm/files/patch-Makefile @@ -0,0 +1,49 @@ +--- src/mylibpng/Makefile.orig 2005-04-21 18:44:48.000000000 +0200 ++++ src/mylibpng/Makefile 2012-05-06 18:42:26.000000000 +0200 +@@ -1,9 +1,10 @@ + include ../../Makefile.inc + +-CFLAGS += -I${PREFIX}/include ++CFLAGS += -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15 + OBJS = mylibpng.o font.o + + all:: ${OBJS} ++ @touch done + + clean:: + @-rm ${OBJS} +--- src/Makefile.orig 2005-04-21 18:44:48.000000000 +0200 ++++ src/Makefile 2012-05-06 18:44:54.000000000 +0200 +@@ -3,9 +3,10 @@ + DIRS = mylibpng + OBJS = yabm.o bw.o + +-all:: ${DIRS} ${OBJS} ++all:: ${DIRS}/done ${OBJS} ++ @touch done + +-mylibpng: force_look ++mylibpng/done: + @cd mylibpng; ${MAKE} + + force_look: +--- Makefile.orig 2005-04-21 18:44:48.000000000 +0200 ++++ Makefile 2012-05-06 18:44:32.000000000 +0200 +@@ -8,7 +8,7 @@ + + LINK = -lkvm -L${PREFIX}/lib -lpng + +-all:: ${DIRS} yabm ++all:: ${DIRS}/done yabm + + install:: + ${INSTALL} -o root -m 0755 ${BIN} ${PREFIX}/bin/${BIN} +@@ -18,7 +18,7 @@ + ${MYLIBPNG_OBJS} \ + ${OBJS} ${LINK} + +-src: force_look ++src/done: force_look + @cd src; ${MAKE} + + force_look: |