View | Details | Raw Unified | Return to bug 197502
Collapse All | Expand All

(-)Mk/Uses/libtool.mk (-2 / +2 lines)
Lines 27-33 _INCLUDE_USES_LIBTOOL_POST_MK= yes Link Here
27
27
28
patch-libtool:
28
patch-libtool:
29
	@${FIND} ${WRKDIR} \( -name configure -or -name ltconfig \)	\
29
	@${FIND} ${WRKDIR} \( -name configure -or -name ltconfig \)	\
30
		-type f | while read i; do ${SED} -i.bak		\
30
		-type f | while read i; do ${SED} -i.libtool.bak		\
31
		-e '/dragonfly\*/!s/^ *freebsd\*[ )]/dragonfly* | &/'	\
31
		-e '/dragonfly\*/!s/^ *freebsd\*[ )]/dragonfly* | &/'	\
32
		-e '/gcc_dir=\\`/s/gcc /$$CC /'				\
32
		-e '/gcc_dir=\\`/s/gcc /$$CC /'				\
33
		-e '/gcc_ver=\\`/s/gcc /$$CC /'				\
33
		-e '/gcc_ver=\\`/s/gcc /$$CC /'				\
Lines 44-50 patch-libtool: Link Here
44
			\$$libname\$$release\$$shared_ext\$$major	\
44
			\$$libname\$$release\$$shared_ext\$$major	\
45
			\$$libname\$$shared_ext'			\
45
			\$$libname\$$shared_ext'			\
46
		    soname_spec='\$$libname\$$release\$$shared_ext\$$major'/; \
46
		    soname_spec='\$$libname\$$release\$$shared_ext\$$major'/; \
47
		    }" $${i} && ${TOUCH} -mr $${i}.bak $${i}; done
47
		    }" $${i} && ${TOUCH} -mr $${i}.libtool.bak $${i}; done
48
48
49
	@${FIND} ${WRKDIR} -type f -name ltmain.sh |			\
49
	@${FIND} ${WRKDIR} -type f -name ltmain.sh |			\
50
		${XARGS} ${REINPLACE_CMD}				\
50
		${XARGS} ${REINPLACE_CMD}				\

Return to bug 197502