hi there,
here is a first try for bsd.ports.mk to remove WRKDIR_LINKNAME
when doing make clean.
-f
--
there are 10 types of people: those that do binary, and those that don't.
Index: bsd.port.mk
===================================================================
RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v
retrieving revision 1.972
diff -u -r1.972 bsd.port.mk
--- bsd.port.mk 14 Oct 2009 13:01:03 -0000 1.972
+++ bsd.port.mk 25 Oct 2009 20:01:39 -0000
@@ -2436,6 +2436,9 @@
. else
@if [ -L ${WRKDIR} ]; then rm -rf `readlink ${WRKDIR}`; fi
@rm -rf ${WRKDIR}
+. if !empty(WRKDIR_LINKNAME)
+ @rm ${WRKDIR_LINKNAME}
+. endif
. endif
.elif ${_clean:L:Mbuild} && ${SEPARATE_BUILD:L} != "no"
@rm -rf ${WRKBUILD} ${_CONFIGURE_COOKIE} ${_BUILD_COOKIE}