From d1c4804841cef684c07b0cd9bb24b0d5ef58db97 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Tue, 5 Jan 1999 01:12:01 +0000 Subject: Fix build for ELF. PR: 9284 Submitted by: maintainer --- korean/hanterm-xf86/Makefile | 4 +--- korean/hanterm-xf86/files/patch-aa | 42 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 3 deletions(-) create mode 100644 korean/hanterm-xf86/files/patch-aa (limited to 'korean') diff --git a/korean/hanterm-xf86/Makefile b/korean/hanterm-xf86/Makefile index 5573d777e94c..4ee552915484 100644 --- a/korean/hanterm-xf86/Makefile +++ b/korean/hanterm-xf86/Makefile @@ -3,7 +3,7 @@ # Date created: 22 Mar 1997 # Whom: CHOI Junho # -# $Id: Makefile,v 1.9 1998/10/16 02:04:09 jseger Exp $ +# $Id: Makefile,v 1.10 1998/10/25 19:29:32 fenner Exp $ # DISTNAME= hanterm-xf-p15 @@ -13,8 +13,6 @@ MASTER_SITES= http://pseudo.snu.ac.kr/~hwang/ 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 --git a/korean/hanterm-xf86/files/patch-aa b/korean/hanterm-xf86/files/patch-aa new file mode 100644 index 000000000000..8bf6f2c017fc --- /dev/null +++ b/korean/hanterm-xf86/files/patch-aa @@ -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. -- cgit v1.2.3