ports/60543: unbreak ports/net/netams and upgrade to netams-3.1.(1770)

Yuriy N. Shkandybin jura at netams.com
Fri Dec 26 13:52:57 UTC 2003


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)



More information about the freebsd-ports-bugs mailing list