summaryrefslogtreecommitdiff
path: root/audio/rexima/patches
diff options
context:
space:
mode:
authorsbd <sbd>2012-02-05 22:53:51 +0000
committersbd <sbd>2012-02-05 22:53:51 +0000
commitefe382dd5e95e89d768a702ed38767a231c5da03 (patch)
treefd6b28651ec6ce6b6c30f1d1728e9f1e0a480a40 /audio/rexima/patches
parent6c0ff4c7accf76ea785239e7d567d9bdf16892dd (diff)
downloadpkgsrc-efe382dd5e95e89d768a702ed38767a231c5da03.tar.gz
1) Use ${PKGMANDIR} when install manpages
2) Use $(LDFLAGS) when linking.
Diffstat (limited to 'audio/rexima/patches')
-rw-r--r--audio/rexima/patches/patch-aa13
1 files changed, 8 insertions, 5 deletions
diff --git a/audio/rexima/patches/patch-aa b/audio/rexima/patches/patch-aa
index 7272138cfb0..9461911003b 100644
--- a/audio/rexima/patches/patch-aa
+++ b/audio/rexima/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2009/07/07 15:28:47 joerg Exp $
+$NetBSD: patch-aa,v 1.3 2012/02/05 22:53:51 sbd Exp $
---- Makefile.orig 2003-06-30 14:45:27.000000000 +0200
+--- Makefile.orig 2003-06-30 12:45:27.000000000 +0000
+++ Makefile
-@@ -1,13 +1,13 @@
+@@ -1,15 +1,15 @@
# Makefile - makefile for rexima
-CC=gcc
@@ -17,14 +17,17 @@ $NetBSD: patch-aa,v 1.2 2009/07/07 15:28:47 joerg Exp $
-PREFIX=/usr/local
+#PREFIX=/usr/local
BINDIR=$(PREFIX)/bin
- MANDIR=$(PREFIX)/man/man1
+-MANDIR=$(PREFIX)/man/man1
++MANDIR=$(PREFIX)/${PKGMANDIR}/man1
+ # You shouldn't need to edit below this line.
+ #--------------------------------------------------------
@@ -17,14 +17,14 @@ MANDIR=$(PREFIX)/man/man1
all: rexima
rexima: rexima.o
- $(CC) $(CFLAGS) -o rexima rexima.o -lncurses
-+ $(CC) $(CFLAGS) -o rexima rexima.o -lncurses ${LIBOSSAUDIO}
++ $(CC) $(CFLAGS) $(LDFLAGS) -o rexima rexima.o -lncurses ${LIBOSSAUDIO}
installdirs:
- /bin/sh ./mkinstalldirs $(BINDIR) $(MANDIR)