diff options
Diffstat (limited to 'editors/beaver/files/patch-aa')
-rw-r--r-- | editors/beaver/files/patch-aa | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/editors/beaver/files/patch-aa b/editors/beaver/files/patch-aa new file mode 100644 index 000000000000..3e207061e4da --- /dev/null +++ b/editors/beaver/files/patch-aa @@ -0,0 +1,74 @@ +--- src/Makefile.orig Fri Apr 11 02:00:20 2003 ++++ src/Makefile Fri Apr 11 03:24:53 2003 +@@ -7,11 +7,11 @@ + + ############## Public section. Modify according to your needs. ############### + +-CC = gcc ++#CC = gcc + RM = rm -f + CP = cp + +-DESTDIR = /usr/local ++DESTDIR = $(PREFIX) + IPATH = + LPATH = + OPTI = -Wall -O3 -funroll-loops -fomit-frame-pointer #-DDEBUG_FCN +@@ -19,8 +19,8 @@ + WARN = #-W -Wall #-pedantic -ansi + + ### Unix version ### +-CFLAGS = ${OPTI} ${DBUG} ${WARN} ${IPATH} `pkg-config gtk+-2.0 --cflags` +-LDFLAGS = ${OPTI} ${DBUG} ${WARN} ${LPATH} `pkg-config gtk+-2.0 --libs` ++CFLAGS += ${DBUG} ${WARN} ${IPATH} $(shell pkg-config gtk+-2.0 --cflags) ++LDFLAGS = ${DBUG} ${WARN} ${LPATH} $(shell pkg-config gtk+-2.0 --libs) + NAME = beaver + + ### Windows version ### +@@ -43,7 +43,7 @@ + + all : ${OBJ} + ${CC} -o ${NAME} ${OBJ} ${LDFLAGS} +- @${STRIP} ++# @${STRIP} + + .c.o : + ${CC} ${CFLAGS} -c $< -o $@ +@@ -51,16 +51,17 @@ + ${OBJ} : ${INC} + + install : +- install -d $(DESTDIR)/bin +- install beaver $(DESTDIR)/bin +- install -d $(DESTDIR)/share/beaver/bl +- $(CP) ../bl/* $(DESTDIR)/share/beaver/bl +- install -d $(DESTDIR)/share/pixmaps +- $(CP) ../pixmaps/beaver.png $(DESTDIR)/share/pixmaps +- $(CP) ../beaver.desktop $(DESTDIR)/share/applications ++ -$(MKDIR) $(DESTDIR)/bin ++ $(INSTALL_PROGRAM) beaver $(DESTDIR)/bin ++ -$(MKDIR) $(DESTDIR)/share/beaver/bl ++ $(INSTALL_DATA) ../bl/* $(DESTDIR)/share/beaver/bl ++ -$(MKDIR) $(DESTDIR)/share/gnome/pixmaps ++ $(INSTALL_DATA) ../pixmaps/beaver.png $(DESTDIR)/share/gnome/pixmaps ++ -$(MKDIR) $(DESTDIR)/share/gnome/applications ++ $(INSTALL_DATA) ../beaver.desktop $(DESTDIR)/share/gnome/applications + gzip -c9 ../beaver.1x > ../beaver.1x.gz +- install -d $(DESTDIR)/man/man1 +- $(CP) ../beaver.1x.gz $(DESTDIR)/man/man1 ++ -$(MKDIR) $(DESTDIR)/man/man1 ++ $(INSTALL_MAN) ../beaver.1x.gz $(DESTDIR)/man/man1 + @echo + @echo "Files installed :" + @echo "-----------------" +@@ -69,8 +70,8 @@ + @echo "$(DESTDIR)/share/beaver/bl/example1.bl" + @echo "$(DESTDIR)/share/beaver/bl/example2.bl" + @echo "$(DESTDIR)/share/beaver/bl/glib.bl" +- @echo "$(DESTDIR)/share/pixmaps/beaver.png" +- @echo "$(DESTDIR)/share/applications/beaver.desktop" ++ @echo "$(DESTDIR)/share/gnome/pixmaps/beaver.png" ++ @echo "$(DESTDIR)/share/gnome/applications/beaver.desktop" + @echo "$(DESTDIR)/man/man1/beaver.1x.gz" + @echo + @echo ",----------------------------------." |