summaryrefslogtreecommitdiff
path: root/misc/xtide/patches/patch-ac
blob: 1fb6a49b460dbb2949e91a188a3a890b83df8f81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.2 2001/08/25 01:22:18 hubertf Exp $

--- Makefile.in.orig	Sun Nov  7 17:39:32 1999
+++ Makefile.in
@@ -14,8 +14,8 @@
 # Compiler and flags
 # DEFS should include -Dacceptarg3_t=int (replace with the correct data type)
 CXX = @CXX@
-CXXFLAGS = @extracxxflags@ @DEFS@ -O2 -I@includedir@ -I$(XROOT)/include -I/usr/local/include -I/usr/contrib/include -c
-LDFLAGS = @extraldflags@ -L@libdir@ -L$(XROOT)/lib -L/usr/local/lib -L/usr/contrib/lib -s -o
+CXXFLAGS = @extracxxflags@ @DEFS@ -O2 -I@includedir@ -I$(XROOT)/include -I/usr/local/include -I/usr/contrib/include -DPREFIX='"${prefix}"' -c
+LDFLAGS = @extraldflags@ -L@libdir@ -Wl,-R@libdir@ -L$(XROOT)/lib -Wl,-R$(XROOT)/lib -s -o
 
 # Extra switches and libs determined by configure.in
 extraswitches=@extraswitches@