ports/163234: [patch] devel/ptypes: unbreak build with clang

Jan Beich jbeich at tormail.net
Tue Dec 13 06:10:15 UTC 2011


>Number:         163234
>Category:       ports
>Synopsis:       [patch] devel/ptypes: unbreak build with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 13 06:10:13 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jan Beich
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
>Description:
>How-To-Repeat:
http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/ptypes-2.1.1.log
>Fix:
--- clang.diff begins here ---
Index: devel/ptypes/files/patch-src-Makefile.FreeBSD
===================================================================
RCS file: /a/.csup/ports/devel/ptypes/files/patch-src-Makefile.FreeBSD,v
retrieving revision 1.7
diff -u -p -r1.7 patch-src-Makefile.FreeBSD
--- devel/ptypes/files/patch-src-Makefile.FreeBSD	14 Dec 2007 16:12:43 -0000	1.7
+++ devel/ptypes/files/patch-src-Makefile.FreeBSD	13 Dec 2011 05:18:39 -0000
@@ -19,7 +19,8 @@
  SOSTRIP = strip
  
  SOEXT = so
- SOINSTOPT = -h $(SOREALNAME)
+-SOINSTOPT = -h $(SOREALNAME)
++SOINSTOPT = -Wl,-soname,$(SOREALNAME)
  
 -PREFIX = /usr/local
 +PREFIX = $(PREFIX)
--- clang.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list