From owner-freebsd-ports Thu Mar 1 3:20:33 2001 Delivered-To: freebsd-ports@freebsd.org Received: from duchess.twilley.org (dsl081-068-081-sfo1.dsl-isp.net [64.81.68.81]) by hub.freebsd.org (Postfix) with ESMTP id 0811B37B718 for ; Thu, 1 Mar 2001 03:20:31 -0800 (PST) (envelope-from jmt@tbe.net) Received: (from jmt@localhost) by duchess.twilley.org (8.11.1/8.11.1) id f21BKTm64738; Thu, 1 Mar 2001 03:20:29 -0800 (PST) (envelope-from jmt@tbe.net) X-Authentication-Warning: duchess.twilley.org: jmt set sender to jmt@tbe.net using -f To: ports@freebsd.org Subject: diff for mpg123 and nas From: Jack Twilley X-Attribution: Jack X-PGP-Key: 0x007F7B38 X-PGP-Fingerprint: 5315 7434 6095 DF36 995B 3407 18F1 527C 007F 7B38 X-Face: .NHAX*9Wpk.L>*/dOY%Tx85BIb;aN`:H*I7y}qDK{(&Q(zjfnli]\}|xh+mpp22}~9u.T[[ zaK{BFgnXg'rBY+GiwLccR(O/iXq"_Fhrx0+%!1N}?D(mT{T$n_q}f`!f\(,@dR~*x&{_Zn^Qm)6rV ]E,6z3JLm6k<9>^9kg:#TU-S'a3{@c,rcT7YF`M*cCg_S0e1=C?!^kg-Wy]f+Xjpe#gB]>#xi= sa4'F#mX[QH^5}1B$0.s"6Y0R["ypG0mIe;8R6H_W]*_c:1|0Z^FgjUA?dCr`b[TX Lines: 19 User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --=-=-= I was able to successfully build mpg123 with nas support. Attached is the diff that when applied to the Makefile in the work directory adds a new target "freebsd-nas". Making that target builds a binary that successfully uses NAS on my system, to play mp3's on my server and have sound come out at my xterminal. I would suggest that either a separate non-esound port be made for mpg123 or that it should detect either library that is available, and build accordingly. I do not know if it can handle having both libraries -- someone else will have to test that. Jack. -- Jack Twilley jmt at tbe dot net http colon slash slash www dot tbe dot net slash tilde jmt slash --=-=-= Content-Disposition: attachment; filename=mpg123diff Content-Description: diff for Makefile in mpg213 work directory 350a351,357 > freebsd-nas: > $(MAKE) AUDIO_LIB='-laudio -lXau -lXt' \ > LDFLAGS='-L/usr/X11R6/lib' \ > CFLAGS='$(CFLAGS) -I/usr/X11R6/include -DNAS' \ > OBJECTS='${ARCHFILES} audio_nas.o dct64.o term.o' \ > mpg123-make > --=-=-=-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message