a06d7953c7
- Fix MASTER_SITES and HOMEPAGE - The side effect of this update is that it builds now with MAKE_JOBS > 1 Tue Aug 20 05:22:16 MEST 2002 (1.6.1) - Removed the bttv-warning from the help pages ;-) Mon Jul 23 18:34:32 MEST 2001 - Fixed bug in ui.c - found by <pawel@sakowski.eu.org>. - When clicking on page numbers accept sub-page numbers too. Sat Dec 23 15:12:11 MET 2000 - Fixed 'double height last line' bug in export.c reported by <Matthias.Kleinmann@urz.uni-heidelberg.de> Thu Oct 12 02:19:31 MEST 2000 - The fix was wrong. Removed it.
70 lines
2.6 KiB
Text
70 lines
2.6 KiB
Text
$NetBSD: patch-aa,v 1.2 2007/09/21 16:53:42 veego Exp $
|
|
|
|
--- Makefile.orig 2002-08-20 05:17:53.000000000 +0200
|
|
+++ Makefile 2007-05-29 07:22:30.000000000 +0200
|
|
@@ -6,7 +6,7 @@
|
|
# a smaller and thinner font
|
|
#FONT=neep9
|
|
|
|
-CFLAGS=$(OPT) -DVERSION=\"$(VER)\" $(DEFS) -I/usr/X11R6/include -I/usr/local/include -W
|
|
+CFLAGS=$(OPT) -DVERSION=\"$(VER)\" $(DEFS) -I$(LOCALBASE)/include -I$(X11BASE)/include -I/usr/local/include -W
|
|
|
|
EXPOBJS=export.o exp-txt.o exp-html.o exp-gfx.o font.o
|
|
OBJS=main.o ui.o xio.o fdset.o vbi.o cache.o help.o edline.o search.o edit.o misc.o hamm.o lang.o $(EXPOBJS)
|
|
@@ -14,20 +14,20 @@
|
|
COBJS=alevt-cap.o vbi.o fdset.o misc.o hamm.o lang.o $(EXPOBJS)
|
|
|
|
ifneq ($(findstring WITH_PNG,$(DEFS)),)
|
|
-EXPLIBS=-L/usr/local/lib -lpng -lz -lm
|
|
+EXPLIBS=-L$(LOCALBASE)/lib -L/usr/local/lib -lpng -lz -lm
|
|
endif
|
|
|
|
all: alevt alevt-date alevt-cap alevt.1x alevt-date.1 alevt-cap.1
|
|
- sync
|
|
+# sync
|
|
|
|
alevt: $(OBJS)
|
|
- $(CC) $(OPT) $(OBJS) -o alevt -L/usr/X11R6/lib -lX11 $(EXPLIBS)
|
|
+ $(CC) $(OPT) $(LDFLAGS) $(OBJS) -o alevt -L/usr/X11R6/lib -lX11 $(EXPLIBS)
|
|
|
|
alevt-date: $(TOBJS)
|
|
- $(CC) $(OPT) $(TOBJS) -o alevt-date
|
|
+ $(CC) $(OPT) $(LDFLAGS) $(TOBJS) -o alevt-date
|
|
|
|
alevt-cap: $(COBJS)
|
|
- $(CC) $(OPT) $(COBJS) -o alevt-cap $(EXPLIBS)
|
|
+ $(CC) $(OPT) $(LDFLAGS) $(COBJS) -o alevt-cap $(EXPLIBS)
|
|
|
|
font.o: font1.xbm font2.xbm
|
|
fontsize.h: font1.xbm font2.xbm
|
|
@@ -62,21 +62,21 @@
|
|
install -m 0755 alevt ${RPM_BUILD_ROOT}/usr/X11R6/bin
|
|
install -m 0755 alevt-date ${RPM_BUILD_ROOT}/usr/X11R6/bin
|
|
install -m 0755 alevt-cap ${RPM_BUILD_ROOT}/usr/X11R6/bin
|
|
- install -m 0644 alevt.1x ${RPM_BUILD_ROOT}/usr/X11R6/man/man1
|
|
+ install -m 0644 alevt.1x ${RPM_BUILD_ROOT}/usr/X11R6/man/man1/alevt.1
|
|
install -m 0644 alevt-date.1 ${RPM_BUILD_ROOT}/usr/X11R6/man/man1
|
|
install -m 0644 alevt-cap.1 ${RPM_BUILD_ROOT}/usr/X11R6/man/man1
|
|
|
|
# anything below this line is just for me!
|
|
|
|
install: all
|
|
- install -m 0755 alevt /usr/local/bin
|
|
- install -m 0755 alevt-date /usr/local/bin
|
|
- install -m 0755 alevt-cap /usr/local/bin
|
|
- install -m 0644 alevt.1x /usr/local/man/man1
|
|
- install -m 0644 alevt-date.1 /usr/local/man/man1
|
|
- install -m 0644 alevt-cap.1 /usr/local/man/man1
|
|
- install -m 0644 contrib/mini-alevt.xpm /usr/include/X11/pixmaps
|
|
- sync
|
|
+ $(BSD_INSTALL_PROGRAM) alevt $(PREFIX)/bin
|
|
+ $(BSD_INSTALL_PROGRAM) alevt-date $(PREFIX)/bin
|
|
+ $(BSD_INSTALL_PROGRAM) alevt-cap $(PREFIX)/bin
|
|
+ $(BSD_INSTALL_DATA) alevt.1x $(PREFIX)/man/man1
|
|
+ $(BSD_INSTALL_DATA) alevt-date.1 $(PREFIX)/man/man1
|
|
+ $(BSD_INSTALL_DATA) alevt-cap.1 $(PREFIX)/man/man1
|
|
+ $(BSD_INSTALL_DATA) contrib/mini-alevt.xpm $(PREFIX)/share/pixmaps
|
|
+# sync
|
|
|
|
depend:
|
|
makedepend -Y -- $(CFLAGS_none) -- *.c 2>/dev/null
|