aboutsummaryrefslogtreecommitdiff
path: root/net/xmlrpc-c-devel
diff options
context:
space:
mode:
authorChin-San Huang <chinsan@FreeBSD.org>2008-10-24 09:07:41 +0000
committerChin-San Huang <chinsan@FreeBSD.org>2008-10-24 09:07:41 +0000
commit6987ac22876c9de106a0a1ef518cc907f160c923 (patch)
treea9deff590d06ca5f108977fcb2002701008a44e5 /net/xmlrpc-c-devel
parentf6d9b952f6ed3a111039ce124c7fc15e1bf313e1 (diff)
downloadports-6987ac22876c9de106a0a1ef518cc907f160c923.tar.gz
ports-6987ac22876c9de106a0a1ef518cc907f160c923.zip
Notes
Diffstat (limited to 'net/xmlrpc-c-devel')
-rw-r--r--net/xmlrpc-c-devel/Makefile1
-rw-r--r--net/xmlrpc-c-devel/files/patch-src-cpp-Makefile11
2 files changed, 12 insertions, 0 deletions
diff --git a/net/xmlrpc-c-devel/Makefile b/net/xmlrpc-c-devel/Makefile
index e1ff0fba69ba..f68fd51a0de2 100644
--- a/net/xmlrpc-c-devel/Makefile
+++ b/net/xmlrpc-c-devel/Makefile
@@ -8,6 +8,7 @@
PORTNAME= xmlrpc-c
PORTVERSION= 1.11.00
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
diff --git a/net/xmlrpc-c-devel/files/patch-src-cpp-Makefile b/net/xmlrpc-c-devel/files/patch-src-cpp-Makefile
new file mode 100644
index 000000000000..11ef6216f427
--- /dev/null
+++ b/net/xmlrpc-c-devel/files/patch-src-cpp-Makefile
@@ -0,0 +1,11 @@
+--- src/cpp/Makefile.orig 2008-10-12 21:53:42.000000000 +0400
++++ src/cpp/Makefile 2008-10-12 21:53:51.000000000 +0400
+@@ -139,7 +139,7 @@
+ # RULES TO COMPILE OBJECT MODULES FOR LIBRARIES
+ #-----------------------------------------------------------------------------
+
+-CXXFLAGS = $(CXXFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD)
++CXXFLAGS = $(CXXFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD) -fPIC
+
+ XmlRpcCpp.o:%.o:%.cpp
+ $(CXX) -c $(BASIC_INCLUDES) $(CXXFLAGS) $<