b72bb5ce58
in GNU configure and configure.in - the prefix is given to the configure script by the pkgsrc infrastructure, and buildlink will DTRT.
23 lines
613 B
Text
23 lines
613 B
Text
$NetBSD: patch-ad,v 1.1 2004/01/28 11:15:35 agc Exp $
|
|
|
|
--- configure.in 2004/01/28 11:10:31 1.1
|
|
+++ configure.in 2004/01/28 11:11:22
|
|
@@ -4,12 +4,12 @@
|
|
dnl Check system type
|
|
AC_CANONICAL_HOST
|
|
AC_CANONICAL_TARGET
|
|
-case "$target" in
|
|
- *-*-netbsd*)
|
|
- CPPFLAGS="${CPPFLAGS} -I/usr/pkg/include";
|
|
- LDFLAGS="${LDFLAGS} -L/usr/pkg/lib -rpath/usr/pkg/lib";
|
|
- ;;
|
|
-esac
|
|
+dnl case "$target" in
|
|
+dnl *-*-netbsd*)
|
|
+dnl CPPFLAGS="${CPPFLAGS} -I/usr/pkg/include";
|
|
+dnl LDFLAGS="${LDFLAGS} -L/usr/pkg/lib -rpath/usr/pkg/lib";
|
|
+dnl ;;
|
|
+dnl esac
|
|
|
|
dnl Set CFLAGS
|
|
CFLAGS="$CFLAGS -Wall -O2 -pipe -fomit-frame-pointer"
|