1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- always link with locally built libedit and libvfs-mc

- add LOCALBASE to CONFIGURE_ENV

PR:		41840
This commit is contained in:
Max Khon 2002-08-26 15:33:08 +00:00
parent a6c0334406
commit 0ac3ead5bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65048
2 changed files with 30 additions and 2 deletions

View File

@ -54,7 +54,8 @@ CONFIGURE_ARGS+=--without-gnome
CONFIGURE_ARGS+=--without-edit
.endif
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS="-L${LOCALBASE}/lib -lintl"
LDFLAGS="-L${LOCALBASE}/lib -lintl" \
LOCALBASE=${LOCALBASE}
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
.if ${PORTNAME} == "mc"
PLIST_SUB+= GNOMEMC="@comment " MC="" SHARE_PATH="share"

View File

@ -1,5 +1,5 @@
--- configure.orig Fri Aug 24 15:05:06 2001
+++ configure Tue Aug 6 16:45:45 2002
+++ configure Mon Aug 26 22:26:15 2002
@@ -2552,6 +2552,8 @@
echo "$as_me:2552: result: no" >&5
echo "${ECHO_T}no" >&6
@ -9,6 +9,15 @@
rm -f conftest*
echo "$as_me:2557: checking for minix/config.h" >&5
@@ -11904,7 +11906,7 @@
if test $use_vfs = yes
then
LIBVFS="libvfs-mc.a"
- LVFS="-lvfs-mc"
+ LVFS="../vfs/libvfs-mc.a"
MCCPPFLAGS="$MCCPPFLAGS -I\$(vfsdir)"
echo "$as_me:11909: result: Using the VFS switch code" >&5
echo "${ECHO_T}Using the VFS switch code" >&6
@@ -12971,7 +12973,7 @@
echo $ECHO_N "(cached) $ECHO_C" >&6
else
@ -27,6 +36,24 @@
screen_manager="SLang (system-installed library)"
echo "$as_me:13256: result: Using system installed SLang library" >&5
echo "${ECHO_T}Using system installed SLang library" >&6
@@ -13489,7 +13491,7 @@
LIBEDIT_A="libedit.a"
MCEDIT="mcedit"
- LEDIT="-ledit"
+ LEDIT="../edit/libedit.a"
EDIT_msg="yes"
echo "$as_me:13494: result: will call internal editor" >&5
echo "${ECHO_T}will call internal editor" >&6
@@ -13505,7 +13507,7 @@
LIBEDIT_A="libedit.a"
MCEDIT="mcedit"
- LEDIT="-ledit"
+ LEDIT="../edit/libedit.a"
EDIT_msg="yes"
echo "$as_me:13510: result: will call internal editor" >&5
echo "${ECHO_T}will call internal editor" >&6
@@ -14223,7 +14225,7 @@
#define HAVE_SYSTEM_SLANG 1
EOF