http://www.berklix.com/~jhs/src/bsd/fixes/freebsd/ports/gen/Mk/bsd.port.mk.DIST_SUBDIR.diff.no_customise DRAFT To: ports@freebsd.org cc: jhs@ Subject: Comment please on this bsd.port.mk cludge diff for DIST_SUBDIR Hi ports@freebsd.org people I append a diff which seems a cludge, I guess there must be some better solution ? Comments, explanations etc welcome. (Please include cc: > 9e.tar.gz doesn't seem to exist in /usr/ports/distfiles/. + # >> Attempting to fetch from ftp://flip/public/freebsd/distfiles//. + # fetch: 9e.tar.gz: Bad Gateway + # >> Attempting to fetch from ftp://wind/public/freebsd/distfiles//. + # fetch: 9e.tar.gz: Bad Gateway + # Something in make fetch was objecting to the terminal double slash, + # I first worked round it by setting + # DIST_SUBDIR= . + # in archivers/9e/Makefile, then came up with more generic solution: + + DIST_SUBDIR?= . + + # But I'm sure this isnt really right either, & + # I'm not sure how it affects things below such as + # .if defined(DIST_SUBDIR) + # So comments & a better solution are welcome ! + # ---- End jhs hack ---------} + _DISTDIR?= ${DISTDIR}/${DIST_SUBDIR} .if defined(USE_BZIP2) EXTRACT_SUFX?= .tar.bz2