As the maintaner of this port, I'll be updating it soon, as the new version is currently in rc. I'd like to clean up this sed script applied to a makefile, but I don't know how much of it might be requred. For reference, the port builds and works with only the last one - removal of "-l dl".
Are any of these things required for reasons I am not aware of? @cd ${WRKSRC}/src && ${CP} -p makefile.unix Makefile @${REINPLACE_CMD} \ -e 's|^CXXFLAGS=.*$$|CXXFLAGS += $$(DEFS)|' \ -e 's|^USE_UPNP.*$$||' \ -e 's|-l pthread|${PTHREAD_LIBS}|g' \ -e 's:-O3::' -e 's:-\(march=[A-Za-z0-9]*\)::g' \ -e 's:-l dl::' \ ${WRKSRC}/src/Makefile Also worthy of note: These changes only have an effect when this port is built as a command-line daemon. This Makefile is not used when building it as a Qt GUI (default, and most common). If there are any important items here, they could be applied to the GUI's makefile. Diff from original to processed Makefile: --- Makefile.bak 2012-10-05 12:30:57.000000000 +1000 +++ Makefile 2012-10-10 16:20:50.000000000 +1000 @@ -2,7 +2,7 @@ # Distributed under the MIT/X11 software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. -USE_UPNP:=0 + USE_IPV6:=1 LINK:=$(CXX) @@ -51,8 +51,8 @@ LIBS+= \ -Wl,-B$(LMODE2) \ -l z \ - -l dl \ - -l pthread + \ + -pthread For reference, the original Makefile is attached.
Makefile.bak
Description: Binary data
_______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"