Files
pkgsrc-ng/time/xtide/patches/patch-ac
2013-09-26 17:14:40 +02:00

16 lines
810 B
Plaintext

$NetBSD: patch-ac,v 1.1.1.1 2010/03/14 16:39:24 wiz Exp $
--- Makefile.in.orig 2004-12-20 15:15:05.000000000 +0100
+++ Makefile.in 2006-11-05 22:03:06.000000000 +0100
@@ -11,8 +11,8 @@ mandir=@mandir@
# DEFS should include -Dacceptarg3_t=int (replace with the correct data type)
CXX = @CXX@
CC = @CC@
-CXXFLAGS = @extracxxflags@ @DEFS@ -I@includedir@ -Ilibtcd -I@xroot@/include @normalcxxflags@ -c
-LDFLAGS = @extraldflags@ -L@libdir@ -L@xlibdir@ @normalldflags@ -o
+CXXFLAGS = @extracxxflags@ @DEFS@ -I@includedir@ -Ilibtcd -I@xroot@/include @normalcxxflags@ -DPREFIX='"${prefix}"' -DPKG_SYSCONFDIR='"@sysconfdir@"' -c
+LDFLAGS = @extraldflags@ -L@libdir@ -Wl,-R@libdir@ -L@xlibdir@ -Wl,-R@xlibdir@ @normalldflags@ -o
# Extra switches and libs determined by configure.in
extraswitches=@extraswitches@