aboutsummaryrefslogtreecommitdiffstats
path: root/korean
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2003-03-24 13:13:33 +0800
committerperky <perky@FreeBSD.org>2003-03-24 13:13:33 +0800
commit71d6079354681137add62e82dfca4a4fbe1261c3 (patch)
treed63b114eb1bac41e5f36768c19e31413eeef22e3 /korean
parent6161e14bccee2e293c148bfde114e436d260cc46 (diff)
downloadfreebsd-ports-graphics-71d6079354681137add62e82dfca4a4fbe1261c3.tar.gz
freebsd-ports-graphics-71d6079354681137add62e82dfca4a4fbe1261c3.tar.zst
freebsd-ports-graphics-71d6079354681137add62e82dfca4a4fbe1261c3.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]
Diffstat (limited to 'korean')
-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 a206ed105d7..2263fa57bfa 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 1a61f9c5851..c575e57687d 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 00000000000..959b1590bed
--- /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++) {