diff options
author | kris <kris@FreeBSD.org> | 2004-03-14 10:23:53 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2004-03-14 10:23:53 +0800 |
commit | f61769ccba190370311aaf9fa652ab1e873ce293 (patch) | |
tree | 344af826bc456e75f0e703497fd6fa42baf4f55d /korean/uniksc | |
parent | de1dcff08410cb8f6f2d38269b0e7fed044d5b91 (diff) | |
download | freebsd-ports-graphics-f61769ccba190370311aaf9fa652ab1e873ce293.tar.gz freebsd-ports-graphics-f61769ccba190370311aaf9fa652ab1e873ce293.tar.zst freebsd-ports-graphics-f61769ccba190370311aaf9fa652ab1e873ce293.zip |
Fix build on amd64 (shared library objects must be compiled with -fPIC)
Diffstat (limited to 'korean/uniksc')
-rw-r--r-- | korean/uniksc/files/patch-makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/korean/uniksc/files/patch-makefile b/korean/uniksc/files/patch-makefile index c7fe07f427f..ee846b1523e 100644 --- a/korean/uniksc/files/patch-makefile +++ b/korean/uniksc/files/patch-makefile @@ -1,19 +1,24 @@ ---- Makefile.orig Mon Oct 9 07:38:51 2000 -+++ Makefile Sun Oct 15 01:21:27 2000 -@@ -1,8 +1,8 @@ +--- Makefile.orig Sun Oct 8 15:38:51 2000 ++++ Makefile Sat Mar 13 18:23:29 2004 +@@ -1,8 +1,9 @@ -CC = gcc +#CC = gcc -CFLAGS = -fPIC -Wall -O2 -fomit-frame-pointer -I. +FLAGS = ${CFLAGS} -I. ++LIBFLAGS = $(FLAGS) -fPIC -PREFIX=/usr/local +#PREFIX=/usr/local SRCS = ksc5601_utf16.c \ ksc5601_utf16_table.c \ -@@ -15,24 +15,24 @@ - $(CC) -c $(FLAGS) -o $*.o $< +@@ -12,27 +13,27 @@ + OBJS = $(SRCS:.c=.o) + + .c.o: +- $(CC) -c $(FLAGS) -o $*.o $< ++ $(CC) -c $(LIBFLAGS) -o $*.o $< all: $(OBJS) - $(CC) -shared -Wl,-soname -Wl,libuniksc.so.0 -o libuniksc.so.0.9 $(OBJS) |