mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
16 lines
773 B
Plaintext
16 lines
773 B
Plaintext
$NetBSD: patch-ac,v 1.2 2014/02/16 15:54:09 wiedi Exp $
|
|
|
|
--- Makefile.in.orig 2006-03-14 00:54:31.000000000 +0000
|
|
+++ Makefile.in
|
|
@@ -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@
|