Date: Thu, 23 Sep 1999 16:49:11 -0700 (PDT) From: John Polstra <jdp@polstra.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/13926: Patch to allow subdirectories in DISTFILES Message-ID: <199909232349.QAA69600@vashon.polstra.com>
next in thread | raw e-mail | index | archive | help
>Number: 13926 >Category: ports >Synopsis: Patch to allow subdirectories in DISTFILES >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 23 16:50:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: John Polstra >Release: FreeBSD 3.3-RC i386 >Organization: Polstra & Co., Seattle, WA >Environment: >Description: The attached patch allows filenames in DISTFILES to include subdirectory components. I need this feature for some new PM3 (Polymtl Modula-3) that I would like to commit. Here's what this patch does: * If filenames in DISTFILES contain one or more "/" characters, their directory structure is preserved on the local machine. This is done by creating the necessary directories and adding a "-o path" option to the fetch command. * If there are no "/" characters in the filenames, the "-o path" argument is omitted from the fetch command, and everything happens just the same as always. Thus, existing ports which override FETCH_CMD won't experience any surprises. >How-To-Repeat: Here is an example of the kind of situation where the patch is useful: MASTER_SITES= http://m3.polymtl.ca/m3htbin/download/m3/pkg/pm3-1.1.13/ DISTFILES= libs/set.tgz \ m3config.tgz \ graphics/gr-libs/ui DIST_SUBDIR= pm3-1.1.13 This doesn't work currently, because DISTFILES is assumed to contain only simple filenames (no "/" characters). The patch makes it work. >Fix: begin 644 bsd.port.mk.patch M26YD97@Z(&)S9"YP;W)T+FUK"CT]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T] M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T*4D-3 M(&9I;&4Z("]H;VUE+VYC=G,O<&]R=',O36LO8G-D+G!O<G0N;6LL=@IR971R M:65V:6YG(')E=FES:6]N(#$N,S(P"F1I9F8@+74@+7(Q+C,R,"!B<V0N<&]R M="YM:PHM+2T@8G-D+G!O<G0N;6L),3DY.2\P.2\R,B`P,3HP-#HS,`DQ+C,R M,`HK*RL@8G-D+G!O<G0N;6L),3DY.2\P.2\R,R`R,SHR.#HU,`I`0"`M,30W M-"PW("LQ-#<T+#$R($!`"B`)"0D@("`@)'M%0TA/7TU31WT@(CX^($%T=&5M M<'1I;F<@=&\@9F5T8V@@9G)O;2`D)'MS:71E?2XB.R!<"B`)"0D)1$E2/21[ M1$E35%]354)$25)].R!<"B`)"0D)0TM325I%/6`D>T=215!](")>4TE:12`H M)"1[1$E2.BLD)$1)4B]])"1F:6QE*2(@)'M-1#5?1DE,17T@?"`D>T%72WT@ M)WMP<FEN="`D)#1])V`[(%P*+0D)"0EI9B`D>U-%5$5.5GT@)'M&151#2%]% M3E9]("1[1D540TA?0TU$?2`D>T9%5$-(7T)%1D]215]!4D=3?2`D)'MS:71E M?20D>V9I;&5]("1[1D540TA?049415)?05)'4WT[('1H96X@7`HK"0D)"6-A M<V4@)"1[9FEL97T@:6X@7`HK"0D)"2HO*BD))'M-2T1)4GT@)"1[9FEL924O M*GT[(%P**PD)"0D)"6%R9W,](BUO("0D>V9I;&5]("0D>W-I=&5])"1[9FEL M97TB.SL@7`HK"0D)"2HI"0EA<F=S/20D>W-I=&5])"1[9FEL97T[.R!<"BL) M"0D)97-A8SL@7`HK"0D)"6EF("1[4T5414Y6?2`D>T9%5$-(7T5.5GT@)'M& M151#2%]#341]("1[1D540TA?0D5&3U)%7T%21U-]("0D>V%R9W-]("1[1D54 M0TA?049415)?05)'4WT[('1H96X@7`H@"0D)"0EC;VYT:6YU92`R.R!<"B`) M"0D)9FD@7`H@"0D)9&]N93L@7`I`0"`M,30Y."PW("LQ-3`S+#$R($!`"B`) M"0D@("`@)'M%0TA/7TU31WT@(CX^($%T=&5M<'1I;F<@=&\@9F5T8V@@9G)O M;2`D)'MS:71E?2XB.R!<"B`)"0D)1$E2/21[1$E35%]354)$25)].R!<"B`) M"0D)0TM325I%/6`D>T=215!](")>4TE:12`H)"1[1$E2.BLD)$1)4B]])"1F M:6QE*2(@)'M-1#5?1DE,17T@?"`D>T%72WT@)WMP<FEN="`D)#1])V`[(%P* M+0D)"0EI9B`D>U-%5$5.5GT@)'M&151#2%]%3E9]("1[1D540TA?0TU$?2`D M>T9%5$-(7T)%1D]215]!4D=3?2`D)'MS:71E?20D>V9I;&5]("1[1D540TA? M049415)?05)'4WT[('1H96X@7`HK"0D)"6-A<V4@)"1[9FEL97T@:6X@7`HK M"0D)"2HO*BD))'M-2T1)4GT@)"1[9FEL924O*GT[(%P**PD)"0D)"6%R9W,] M(BUO("0D>V9I;&5]("0D>W-I=&5])"1[9FEL97TB.SL@7`HK"0D)"2HI"0EA M<F=S/20D>W-I=&5])"1[9FEL97T[.R!<"BL)"0D)97-A8SL@7`HK"0D)"6EF M("1[4T5414Y6?2`D>T9%5$-(7T5.5GT@)'M&151#2%]#341]("1[1D540TA? M0D5&3U)%7T%21U-]("0D>V%R9W-]("1[1D540TA?049415)?05)'4WT[('1H M96X@7`H@"0D)"0EC;VYT:6YU92`R.R!<"B`)"0D)9FD@7`H@"0D)9&]N93L@ M7`I`0"`M,C`S,RPW("LR,#0S+#$Q($!`"B`)"0EF;W(@<VET92!I;B`D>TU! M4U1%4E]3251%4WT[(&1O(%P*(`D)"0E$25(])'M$25-47U-50D1)4GT[(%P* M(`D)"0E#2U-)6D4]8"1[1U)%4'T@(EY325I%("@D)'M$25(Z*R0D1$E2+WTD M)&9I;&4I(B`D>TU$-5]&24Q%?2!\("1[05=+?2`G>W!R:6YT("0D-'TG8#L@ M7`HM"0D)"21[14-(3WT@+6X@)'M3151%3E9]("1[1D540TA?14Y6?2`D>T9% M5$-(7T--1'T@)'M&151#2%]"149/4D5?05)'4WT@)"1[<VET97TD)'MF:6QE M?2`B)'M&151#2%]!1E1%4E]!4D=3?2(@)WQ\)R`[(%P**PD)"0EC87-E("0D M>V9I;&5](&EN(%P**PD)"0DJ+RHI"6%R9W,](BUO("0D>V9I;&5]("0D>W-I M=&5])"1[9FEL97TB.SL@7`HK"0D)"2HI"0EA<F=S/20D>W-I=&5])"1[9FEL M97T[.R!<"BL)"0D)97-A8SL@7`HK"0D)"21[14-(3WT@+6X@)'M3151%3E9] M("1[1D540TA?14Y6?2`D>T9%5$-(7T--1'T@)'M&151#2%]"149/4D5?05)' M4WT@)"1[87)G<WT@(B1[1D540TA?049415)?05)'4WTB("=\?"<@.R!<"B`) M"0D)"6)R96%K.R!<"B`)"0ED;VYE.R!<"B`)"0DD>T5#2$]](")E8VAO("0D M>V9I;&5](&YO="!F971C:&5D(B`[(%P*0$`@+3(P-#8L-R`K,C`V,"PQ,2!` M0`H@"0D)9F]R('-I=&4@:6X@)'M0051#2%]3251%4WT[(&1O(%P*(`D)"0E$ M25(])'M$25-47U-50D1)4GT[(%P*(`D)"0E#2U-)6D4]8"1[1U)%4'T@(EY3 M25I%("@D)'M$25(Z*R0D1$E2+WTD)&9I;&4I(B`D>TU$-5]&24Q%?2!\("1[ M05=+?2`G>W!R:6YT("0D-'TG8#L@7`HM"0D)"21[14-(3WT@+6X@)'M3151% M3E9]("1[1D540TA?14Y6?2`D>T9%5$-(7T--1'T@)'M&151#2%]"149/4D5? M05)'4WT@)"1[<VET97TD)'MF:6QE?2`B)'M&151#2%]!1E1%4E]!4D=3?2(@ M)WQ\)R`[(%P**PD)"0EC87-E("0D>V9I;&5](&EN(%P**PD)"0DJ+RHI"6%R M9W,](BUO("0D>V9I;&5]("0D>W-I=&5])"1[9FEL97TB.SL@7`HK"0D)"2HI M"0EA<F=S/20D>W-I=&5])"1[9FEL97T[.R!<"BL)"0D)97-A8SL@7`HK"0D) M"21[14-(3WT@+6X@)'M3151%3E9]("1[1D540TA?14Y6?2`D>T9%5$-(7T-- M1'T@)'M&151#2%]"149/4D5?05)'4WT@)"1[87)G<WT@(B1[1D540TA?0494 M15)?05)'4WTB("=\?"<@.R!<"B`)"0D)"6)R96%K.R!<"B`)"0ED;VYE.R!< M"B`)"0DD>T5#2$]](")E8VAO("0D>V9I;&5](&YO="!F971C:&5D(B`[(%P* ` end >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909232349.QAA69600>