blob: cc298c3c6fa1cc9048457871e0828d28971338e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
$NetBSD: patch-aa,v 1.4 2003/11/14 09:20:13 wiz Exp $
--- Makefile.orig Mon Jun 28 08:44:35 1999
+++ Makefile
@@ -4,15 +4,15 @@ KLAVGVER=1.1
#------------
-INCDIR = -I$(QTDIR)/include -I$(KDEDIR)/include -I/usr/include/qt
-CFLAGS = -DKLAVGVERSION=\"$(KLAVGVER)\" -O2 -fno-strength-reduce -Wall -W -I/usr/X11R6/include
+INCDIR = -I$(QTDIR)/include -I$(KDEDIR)/include
+CFLAGS = -DKLAVGVERSION=\"$(KLAVGVER)\" -O2 -fno-strength-reduce -Wall -W -I${X11BASE}/include
LIBCFLAGS =
-LFLAGS = -L/usr/X11R6/lib -L$(QTDIR)/lib -L$(KDEDIR)/lib \
+LFLAGS = -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -L$(QTDIR)/lib -Wl,-R$(QTDIR)/lib -L$(KDEDIR)/lib -Wl,-R$(KDEDIR)/lib \
-lqt -lkdecore -lkdeui -lkfile -lkfm -lXext -lX11
CC = gcc
-#MOC = $(QTDIR)/bin/moc
-MOC = moc
+MOC = $(QTDIR)/bin/moc
+#MOC = moc
SHELL = /bin/sh
@@ -61,6 +61,4 @@ tar:
cd ..; rm -f klavg-$(KLAVGVER).tar klavg-$(KLAVGVER).tar.gz; tar --exclude CVS -cvf klavg-$(KLAVGVER).tar klavg; gzip -9 klavg-$(KLAVGVER).tar
install: $(TARGET)
- cp klavg /usr/bin
- chown root:root /usr/bin/klavg
- chmod a=rx,go-w /usr/bin/klavg
+ ${BSD_INSTALL_PROGRAM} klavg ${PREFIX}/bin/klavg
|