net/samba34 auto enabled profiling data.

jhell jhell at DataIX.net
Mon Feb 8 16:38:49 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Some how either WITH_MAX_DEBUG is getting set or somewhere in the sources 
is overriding and turning on --with-profiling-data by default.  I have not 
worked out where this is at or even if its a ports problem.  I have 
attached the following patch which resolves the issue on my end.

Second note this was also happening on 3.3.10 and did not on 3.3.9, seeing 
as these are newer release I believe there to be something in the source 
that was just not turned off.

Third note: configure: WARNING: Unrecognized options: --with-ncalrpcdir
Should be: --with-ncalprcdir as noted by configure. Maybe a misspelling on 
their end but does not help us here.

- --- Makefile.orig       2010-02-08 11:21:38.539337896 -0500
+++ Makefile    2010-02-08 11:34:56.948622858 -0500
@@ -59,12 +59,13 @@
                         --with-pammodulesdir="${SAMBA_LIBDIR}" \
                         --localstatedir="${VARDIR}" \
                         --with-piddir="${SAMBA_RUNDIR}" \
- -                       --with-ncalrpcdir="${SAMBA_RUNDIR}/ncalrpc" \
+                       --with-ncalprcdir="${SAMBA_RUNDIR}/ncalrpc" \
                         --with-lockdir="${SAMBA_LOCKDIR}" \
                         --with-statedir="${SAMBA_LOCKDIR}" \
                         --with-cachedir="${SAMBA_LOCKDIR}" \
                         --with-privatedir="${SAMBA_PRIVATEDIR}" \
- -                       --with-logfilebase="${SAMBA_LOGDIR}"
+                       --with-logfilebase="${SAMBA_LOGDIR}" \
+                       --without-profiling-data

  CPPFLAGS+=             -I${LOCALBASE}/include
  LDFLAGS+=              -L${LOCALBASE}/lib

- -- 

  jhell

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iQEcBAEBAgAGBQJLcD4IAAoJEJBXh4mJ2FR+u7wH/1tbOP9Wf2AV7BT83Z6JQPxT
n3ZiyZZ6Cmy5cR7WDE/bhT0aBLhPPGFi70NYos8fXa6Kl8g4dZtfM58guFDQ0068
PzEK3iUmxWW6la4Vzm2sKqom05lzdd3cZM4o4O1lIVndmKxS0iAw9dqrAsyfGxhG
+veWU5ySSSyXkkGeJ8qYNskfpzDYtscDHHBHZOm9AWBkIX8e9eHS8EsdNZDKmgQg
UL4BwuWHAffE3UWKjjb91AiOAuqzG6cvIU7nfUAkJIAatIFtQ6RMALjYctusAvBc
eR21ZcNPcvfzSmTdZKpY4WtGsOemXuPTkk0n0GJUJdkGIUgATbEK+0pCwpWbNAE=
=kCJ2
-----END PGP SIGNATURE-----
-------------- next part --------------
--- Makefile.orig	2010-02-08 11:21:38.539337896 -0500
+++ Makefile	2010-02-08 11:34:56.948622858 -0500
@@ -59,12 +59,13 @@
 			--with-pammodulesdir="${SAMBA_LIBDIR}" \
 			--localstatedir="${VARDIR}" \
 			--with-piddir="${SAMBA_RUNDIR}" \
-			--with-ncalrpcdir="${SAMBA_RUNDIR}/ncalrpc" \
+			--with-ncalprcdir="${SAMBA_RUNDIR}/ncalrpc" \
 			--with-lockdir="${SAMBA_LOCKDIR}" \
 			--with-statedir="${SAMBA_LOCKDIR}" \
 			--with-cachedir="${SAMBA_LOCKDIR}" \
 			--with-privatedir="${SAMBA_PRIVATEDIR}" \
-			--with-logfilebase="${SAMBA_LOGDIR}"
+			--with-logfilebase="${SAMBA_LOGDIR}" \
+			--without-profiling-data
 
 CPPFLAGS+=		-I${LOCALBASE}/include
 LDFLAGS+=		-L${LOCALBASE}/lib


More information about the freebsd-ports mailing list