Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2011 04:39:16 -0100
From:      Jan Beich <jbeich@tormail.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/163234: [patch] devel/ptypes: unbreak build with clang
Message-ID:  <1RaLVV-000H9L-2Y@internal.tormail.net>
Resent-Message-ID: <201112130610.pBD6AEbW090341@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1RaLVV-000H9L-2Y>