aboutsummaryrefslogtreecommitdiff
path: root/korean/eterm
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-03-24 05:13:33 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-03-24 05:13:33 +0000
commit81d7ca74e8305ca3a1cd90a8051576d856c55056 (patch)
tree39cabb690a9339f54a3595bede5b8105f68a707c /korean/eterm
parent46e6dea88dd7ef7d83b07184ee1fbd2e15ed8cbd (diff)
downloadports-81d7ca74e8305ca3a1cd90a8051576d856c55056.tar.gz
ports-81d7ca74e8305ca3a1cd90a8051576d856c55056.zip
o Fix build on 5 [1]
o Don't hardcode /usr/local in patches PR: 50153 [1] Submitted by: JunSeon Oh <hollywar@holywar.net> [1]
Notes
Notes: svn path=/head/; revision=77354
Diffstat (limited to 'korean/eterm')
-rw-r--r--korean/eterm/files/patch-ac2
-rw-r--r--korean/eterm/files/patch-ag6
-rw-r--r--korean/eterm/files/patch-ah21
3 files changed, 25 insertions, 4 deletions
diff --git a/korean/eterm/files/patch-ac b/korean/eterm/files/patch-ac
index a206ed105d7f..2263fa57bfa0 100644
--- a/korean/eterm/files/patch-ac
+++ b/korean/eterm/files/patch-ac
@@ -5,7 +5,7 @@
FEATURE_CMD = @FEATURE_CMD@
GDB = @GDB@
-GRLIBS = @GRLIBS@
-+GRLIBS = -L/usr/local/lib @GRLIBS@
++GRLIBS = -L${LOCALBASE}/lib @GRLIBS@
IMLIB_CONFIG = @IMLIB_CONFIG@
LD = @LD@
LDFLAGS = @LDFLAGS@
diff --git a/korean/eterm/files/patch-ag b/korean/eterm/files/patch-ag
index 1a61f9c5851d..c575e57687d9 100644
--- a/korean/eterm/files/patch-ag
+++ b/korean/eterm/files/patch-ag
@@ -6,8 +6,8 @@
DLLTOOL="$DLLTOOL" AS="$AS" \
-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
-$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
-+${CONFIG_SHELL-/bin/sh} /usr/local/share/libtool/ltconfig --no-reexec \
-+$libtool_flags --no-verify --disable-ltlibs /usr/local/share/libtool/ltmain.sh $host \
++${CONFIG_SHELL-/bin/sh} ${LOCALBASE}/share/libtool/ltconfig --no-reexec \
++$libtool_flags --no-verify --disable-ltlibs ${LOCALBASE}/share/libtool/ltmain.sh $host \
|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
# Reload cache, that may have been modified by ltconfig
@@ -19,7 +19,7 @@
-
-# Always use our own libtool.
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+LIBTOOL_DEPS="/usr/local/share/libtool/ltconfig --disable-ltlibs /usr/local/share/libtool/ltmain.sh"
++LIBTOOL_DEPS="${LOCALBASE}/share/libtool/ltconfig --disable-ltlibs ${LOCALBASE}/share/libtool/ltmain.sh"
+LIBTOOL="${LOCALBASE}/bin/libtool"
# Redirect the config.log output again, so that the ltconfig log is not
diff --git a/korean/eterm/files/patch-ah b/korean/eterm/files/patch-ah
new file mode 100644
index 000000000000..959b1590bedf
--- /dev/null
+++ b/korean/eterm/files/patch-ah
@@ -0,0 +1,21 @@
+--- utils/Etbg.c.orig Sat Mar 27 10:13:46 1999
++++ utils/Etbg.c Mon Mar 24 14:03:40 2003
+@@ -26,12 +26,15 @@
+ #include <stdio.h>
+ #include <string.h>
+
++#ifndef FALSE
++#define FALSE (0)
++#define TRUE (1)
++#endif
++
+ int
+ main(int argc, char **argv)
+ {
+- enum {
+- FALSE, TRUE
+- } scale = FALSE, trans = FALSE;
++ int scale = FALSE, trans = FALSE;
+ unsigned int i, pic = 0, tint = 0, shade = 0;
+
+ for (i = 1; i < argc; i++) {