diff options
author | fjoe <fjoe@FreeBSD.org> | 2002-08-26 23:33:08 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2002-08-26 23:33:08 +0800 |
commit | db1658d7a56e329391accaf46b4662fa6ac76201 (patch) | |
tree | 4faf61b6037c0203277877b0e60025375ff6fc3d /misc | |
parent | bf74d35ba9ad069144741c6e4828e3bed7e32971 (diff) | |
download | freebsd-ports-gnome-db1658d7a56e329391accaf46b4662fa6ac76201.tar.gz freebsd-ports-gnome-db1658d7a56e329391accaf46b4662fa6ac76201.tar.zst freebsd-ports-gnome-db1658d7a56e329391accaf46b4662fa6ac76201.zip |
- always link with locally built libedit and libvfs-mc
- add LOCALBASE to CONFIGURE_ENV
PR: 41840
Diffstat (limited to 'misc')
-rw-r--r-- | misc/mc/Makefile | 3 | ||||
-rw-r--r-- | misc/mc/files/patch-aa | 29 |
2 files changed, 30 insertions, 2 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile index b0373cdef909..f9ce60b870c6 100644 --- a/misc/mc/Makefile +++ b/misc/mc/Makefile @@ -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" diff --git a/misc/mc/files/patch-aa b/misc/mc/files/patch-aa index ad601425d952..6b2a244e8f08 100644 --- a/misc/mc/files/patch-aa +++ b/misc/mc/files/patch-aa @@ -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 |