- Fix build on 6.X

PR:		133590
Reported by:	Barbara <barbara.xxx1975@libero.it>
Approved by:	portmgr (marcus)
This commit is contained in:
Martin Wilke 2009-04-16 12:10:08 +00:00
parent bdec88721c
commit f46069f1b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=232349

View File

@ -1,14 +1,13 @@
--- config/rules.mk.orig Sun May 18 16:10:18 2003
+++ config/rules.mk Sun Jul 20 18:07:26 2003
@@ -448,7 +448,11 @@
--- config/rules.mk.orig Thu Sep 14 14:07:03 2006
+++ config/rules.mk Wed Oct 18 11:00:09 2006
@@ -442,9 +442,7 @@
endif
ifeq ($(OS_ARCH),FreeBSD)
ifdef IS_COMPONENT
+ifneq (,$(filter alpha ia64,$(OS_TEST)))
-ifdef IS_COMPONENT
-EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
-endif
+EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic -lc
+else
EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
+endif
endif
endif
ifeq ($(OS_ARCH),NetBSD)