Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 1999 20:54:37 +0900 (KST)
From:      junker@jazz.snu.ac.kr
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9284: port upgrade: korean/hanterm-xf86
Message-ID:  <199901031154.UAA16269@samba.snu.ac.kr>

next in thread | raw e-mail | index | archive | help

>Number:         9284
>Category:       ports
>Synopsis:       port upgrade: korean/hanterm-xf86
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan  3 04:00:00 PST 1999
>Last-Modified:
>Originator:     CHOI Junho
>Organization:
NARAE, CS Dept., Seoul National Univ., ROK
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

FreeBSD samba.snu.ac.kr 3.0-CURRENT FreeBSD 3.0-CURRENT #4: Thu Dec  3 10:00:45 KST 1998     pwd@samba.snu.ac.kr:/usr/src/sys/compile/SAMBA  i386

>Description:

Port upgrade(korean/hanterm-xf86) for ELF building.

>How-To-Repeat:

>Fix:
	
Apply the following diffs:

diff -uNr -x CVS /usr/ports/korean/hanterm-xf86/Makefile ./Makefile
--- /usr/ports/korean/hanterm-xf86/Makefile	Sat Nov 21 14:20:38 1998
+++ ./Makefile	Sun Jan  3 20:43:04 1999
@@ -13,8 +13,6 @@
 
 MAINTAINER=	junker@jazz.snu.ac.kr
 
-BROKEN_ELF=	yes
-
 RUN_DEPENDS=	${PREFIX}/lib/X11/fonts/misc/johabm16.pcf.gz:${PORTSDIR}/korean/johabfonts
 
 USE_X_PREFIX=		yes
diff -uNr -x CVS /usr/ports/korean/hanterm-xf86/patches/patch-aa ./patches/patch-aa
--- /usr/ports/korean/hanterm-xf86/patches/patch-aa	Thu Jan  1 09:00:00 1970
+++ ./patches/patch-aa	Sun Jan  3 16:44:54 1999
@@ -0,0 +1,42 @@
+*** configure.orig	Sat Aug  1 10:14:54 1998
+--- configure	Sat Jan  2 00:45:20 1999
+***************
+*** 2289,2295 ****
+  
+    # It would also be nice to do this for all -L options, not just this one.
+    if test -n "$x_libraries"; then
+!     X_LIBS="$X_LIBS -L$x_libraries"
+      # For Solaris; some versions of Sun CC require a space after -R and
+      # others require no space.  Words are not sufficient . . . .
+      case "`(uname -sr) 2>/dev/null`" in
+--- 2289,2298 ----
+  
+    # It would also be nice to do this for all -L options, not just this one.
+    if test -n "$x_libraries"; then
+!     case "${PORTOBJFORMAT}" in
+!       elf) X_LIBS="$X_LIBS -L$x_libraries -rpath $x_libraries" ;;
+!       *) X_LIBS="$X_LIBS -L$x_libraries" ;;
+!     esac
+      # For Solaris; some versions of Sun CC require a space after -R and
+      # others require no space.  Words are not sufficient . . . .
+      case "`(uname -sr) 2>/dev/null`" in
+***************
+*** 2824,2830 ****
+  
+    # Check for libraries that X11R6 Xt/Xaw programs need.
+    ac_save_LDFLAGS="$LDFLAGS"
+!   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
+    # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
+    # check for ICE first), but we must link in the order -lSM -lICE or
+    # we get undefined symbols.  So assume we have SM if we have ICE.
+--- 2827,2836 ----
+  
+    # Check for libraries that X11R6 Xt/Xaw programs need.
+    ac_save_LDFLAGS="$LDFLAGS"
+!   test -n "$x_libraries" && case "${PORTOBJFORMAT}" in
+!     elf) LDFLAGS="$LDFLAGS -L$x_libraries -rpath $x_libraries" ;;
+!     *) LDFLAGS="$LDFLAGS -L$x_libraries" ;;
+!   esac
+    # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
+    # check for ICE first), but we must link in the order -lSM -lICE or
+    # we get undefined symbols.  So assume we have SM if we have ICE.
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901031154.UAA16269>