Bug 60543 - unbreak ports/net/netams and upgrade to netams-3.1.(1770)
Summary: unbreak ports/net/netams and upgrade to netams-3.1.(1770)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-24 13:40 UTC by Yuriy N. Shkandybin
Modified: 2003-12-26 17:12 UTC (History)
0 users

See Also:


Attachments
update.sh (17.04 KB, text/plain)
2003-12-24 13:40 UTC, Yuriy N. Shkandybin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuriy N. Shkandybin 2003-12-24 13:40:19 UTC
New version netams-3.1(1770) 
Unbreak build on 5.2-CURRENT.
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2003-12-24 22:33:30 UTC
State Changed
From-To: open->feedback

It links with -pthread on -CURRENT and it's not correct. 
Could you please fix it ?
Comment 2 Yuriy N. Shkandybin 2003-12-26 10:45:18 UTC
I've remove -pthread and likn againc -lc_r
best way to do this now correct files/patch-Makefile
here patch:
--- files/patch-Makefile        24 Dec 2003 12:34:26 -0000      1.4
+++ files/patch-Makefile        25 Dec 2003 11:00:11 -0000
@@ -7,7 +7,7 @@
 -DEFINE = -DFREEBSD -D_THREAD_SAFE
 -LIB = -pthread -lpcap -lcrypt
 +DEFINE += -DFREEBSD -D_THREAD_SAFE
-+LIB += -pthread -lpcap -lcrypt
++LIB += -lc_r -lpcap -lcrypt
  #
  # DB1 support
  # DEFINE+= -DUSE_HASH
@@ -41,7 +41,8 @@
 @@ -77,7 +77,7 @@

  CC    = g++
- FLAGS += -pthread
+-FLAGS += -pthread
++
 -INCLUDE=/usr/local/include
 +INCLUDE = ${LOCALBASE}/include
  OBJ   = $(SRC:.c=.o)
Comment 3 Kirill Ponomarev freebsd_committer freebsd_triage 2003-12-26 17:12:39 UTC
State Changed
From-To: feedback->closed

Committed, thanks!