aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/ptypes/files/patch-src-Makefile.FreeBSD3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/ptypes/files/patch-src-Makefile.FreeBSD b/devel/ptypes/files/patch-src-Makefile.FreeBSD
index b4965bc9a614..a8ee6218cf62 100644
--- a/devel/ptypes/files/patch-src-Makefile.FreeBSD
+++ b/devel/ptypes/files/patch-src-Makefile.FreeBSD
@@ -19,7 +19,8 @@
SOSTRIP = strip
SOEXT = so
- SOINSTOPT = -h $(SOREALNAME)
+-SOINSTOPT = -h $(SOREALNAME)
++SOINSTOPT = -Wl,-soname,$(SOREALNAME)
-PREFIX = /usr/local
+PREFIX = $(PREFIX)