opnsense-ports/converters/libutf-8/files/patch-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

14 lines
488 B
Text

--- Makefile.orig 1999-04-01 09:00:12.000000000 +0200
+++ Makefile 2009-12-18 20:35:57.000000000 +0100
@@ -26,8 +26,10 @@
# Makefile for libutf-8 library
#
+CFLAGS+= -fPIC
+
all: libutf-8.so.1
libutf-8.so.1: fget.utf-8.o sget.utf-8.o fput.utf-8.o sput.utf-8.o nomacros.o
- ld -o libutf-8.so.1 fget.utf-8.o sget.utf-8.o fput.utf-8.o sput.utf-8.o nomacros.o -shared -soname libutf-8.so
+ ld -o $@ fget.utf-8.o sget.utf-8.o fput.utf-8.o sput.utf-8.o nomacros.o -shared -soname $@