aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-03-22 14:18:21 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-03-22 14:18:21 +0000
commit7bfe7685ccea69f3d67b9e39a928b28dfb72888f (patch)
treed96608ae0eb59dc6dd43b0b752069a6cce6e5d8e /irc
parent13b0e36b5babd819ae77075e4f64e68ddcb22510 (diff)
downloadports-7bfe7685ccea69f3d67b9e39a928b28dfb72888f.tar.gz
ports-7bfe7685ccea69f3d67b9e39a928b28dfb72888f.zip
Build only the shared library with -fPIC
Notes
Notes: svn path=/head/; revision=104936
Diffstat (limited to 'irc')
-rw-r--r--irc/sircd/Makefile1
-rw-r--r--irc/sircd/files/patch-syscore-Makefile11
2 files changed, 11 insertions, 1 deletions
diff --git a/irc/sircd/Makefile b/irc/sircd/Makefile
index 0df9031b0c7e..27a088a32938 100644
--- a/irc/sircd/Makefile
+++ b/irc/sircd/Makefile
@@ -19,7 +19,6 @@ COMMENT= The Smart IRC Daemon
USE_OPENSSL= yes
USE_GMAKE= yes
-CFLAGS+= "-fPIC"
MAKE_ENV= LD="${CC}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
diff --git a/irc/sircd/files/patch-syscore-Makefile b/irc/sircd/files/patch-syscore-Makefile
new file mode 100644
index 000000000000..4697d7513b48
--- /dev/null
+++ b/irc/sircd/files/patch-syscore-Makefile
@@ -0,0 +1,11 @@
+--- syscore/Makefile.orig Sat Feb 2 18:44:49 2002
++++ syscore/Makefile Mon Mar 22 15:15:57 2004
+@@ -69,7 +70,7 @@
+ #############################################################################
+
+ .c.o:
+- $(CC) $(CFLAGS) $(INCLUDE) -o $*.o -c $*.c
++ $(CC) $(CFLAGS) $(SHFLAGS) $(INCLUDE) -o $*.o -c $*.c
+
+ clean:
+ @rm -f $(OBJ)