aboutsummaryrefslogtreecommitdiffstats
path: root/net/xmlrpc-c-devel
diff options
context:
space:
mode:
authorchinsan <chinsan@FreeBSD.org>2008-10-24 17:07:41 +0800
committerchinsan <chinsan@FreeBSD.org>2008-10-24 17:07:41 +0800
commit83b01b63f631a3343e031c2b955c20867f4b89d5 (patch)
tree604f8a0380298f3ea38088c8983b60801528f387 /net/xmlrpc-c-devel
parentc99ce70c9ae68c6e927dc0ddc5e1482e58d577de (diff)
downloadfreebsd-ports-gnome-83b01b63f631a3343e031c2b955c20867f4b89d5.tar.gz
freebsd-ports-gnome-83b01b63f631a3343e031c2b955c20867f4b89d5.tar.zst
freebsd-ports-gnome-83b01b63f631a3343e031c2b955c20867f4b89d5.zip
- Fix linker issue with static xmlrpc-c libraries.
- Bump PORTREVISION PR: ports/128033 Submitted by: Roman Bogorodskiy (novel@)
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) $<