1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/net-im/tmsnc/files/patch-configure
Rong-En Fan 39db6b4d69 - Update to 0.3.2
- Use ports' ncurses only on older system
- Use PLIST_FILES since we have only one file in plist

PR:		ports/111252
Submitted by:	Tsung-Han Yeh <snowfly at yuntech.edu.tw> (maintainer)
2007-04-06 18:02:00 +00:00

87 lines
2.5 KiB
Plaintext

--- configure.orig Thu Apr 5 08:38:09 2007
+++ configure Thu Apr 5 08:47:12 2007
@@ -5087,81 +5087,12 @@
if $search_ncurses
then
- if test -f /usr/include/ncurses.h
- then
- { echo "$as_me:$LINENO: result: Found ncurses on /usr/include/ncurses.h" >&5
-echo "${ECHO_T}Found ncurses on /usr/include/ncurses.h" >&6; }
- CURSES_LIBS="-lncurses"
- CURSES_INCLUDEDIR=""
- search_ncurses=false
- screen_manager="ncurses on /usr/include"
- cat >>confdefs.h <<\_ACEOF
-#define HAS_CURSES 1
-_ACEOF
-
- has_curses=true
- cat >>confdefs.h <<\_ACEOF
-#define USE_NCURSES 1
-_ACEOF
-
- fi
- fi
-
-
- if $search_ncurses
- then
- if test -f /usr/include/ncurses/ncurses.h
- then
- { echo "$as_me:$LINENO: result: Found ncurses on /usr/include/ncurses/ncurses.h" >&5
-echo "${ECHO_T}Found ncurses on /usr/include/ncurses/ncurses.h" >&6; }
- CURSES_LIBS="-lncurses"
- CURSES_INCLUDEDIR="-I/usr/include/ncurses"
- search_ncurses=false
- screen_manager="ncurses on /usr/include/ncurses"
- cat >>confdefs.h <<\_ACEOF
-#define HAS_CURSES 1
-_ACEOF
-
- has_curses=true
- cat >>confdefs.h <<\_ACEOF
-#define USE_NCURSES 1
-_ACEOF
-
- fi
- fi
-
-
- if $search_ncurses
- then
- if test -f /usr/local/include/ncurses.h
- then
- { echo "$as_me:$LINENO: result: Found ncurses on /usr/local/include/ncurses.h" >&5
-echo "${ECHO_T}Found ncurses on /usr/local/include/ncurses.h" >&6; }
- CURSES_LIBS="-L/usr/local/lib -lncurses"
- CURSES_INCLUDEDIR="-I/usr/local/include"
- search_ncurses=false
- screen_manager="ncurses on /usr/local"
- cat >>confdefs.h <<\_ACEOF
-#define HAS_CURSES 1
-_ACEOF
-
- has_curses=true
- cat >>confdefs.h <<\_ACEOF
-#define USE_NCURSES 1
-_ACEOF
-
- fi
- fi
-
-
- if $search_ncurses
- then
if test -f /usr/local/include/ncurses/ncurses.h
then
{ echo "$as_me:$LINENO: result: Found ncurses on /usr/local/include/ncurses/ncurses.h" >&5
echo "${ECHO_T}Found ncurses on /usr/local/include/ncurses/ncurses.h" >&6; }
- CURSES_LIBS="-L/usr/local/lib -L/usr/local/lib/ncurses -lncurses"
- CURSES_INCLUDEDIR="-I/usr/local/include/ncurses"
+ CURSES_LIBS="-L/usr/local/lib -L/usr/local/lib/ncurses -Wl,-rpath,/usr/local/lib -lncurses"
+ CURSES_INCLUDEDIR="-I/usr/local/include -I/usr/local/include/ncurses"
search_ncurses=false
screen_manager="ncurses on /usr/local/include/ncurses"
cat >>confdefs.h <<\_ACEOF