|
|
@@ -107,9 +107,19 @@ AutoReqProv: no
|
|
|
`find . -name *.[ch] -print`
|
|
|
|
|
|
# ensure linking of Berkeley DB
|
|
|
- %{l_shtool} subst \
|
|
|
- -e 's;^\( *.LIBS..*\)\(\"\],.*\)$;\1 -ldb\2;' \
|
|
|
- perl/imap/Makefile.PL
|
|
|
+ loclibs=""
|
|
|
+ case "%{l_platform -t}" in
|
|
|
+ *-sunos* )
|
|
|
+ %{l_shtool} subst \
|
|
|
+ -e 's;^\( *.LIBS..*\)\(\"\],.*\)$;\1 -ldb -lrt\2;' \
|
|
|
+ perl/imap/Makefile.PL
|
|
|
+ ;;
|
|
|
+ * )
|
|
|
+ %{l_shtool} subst \
|
|
|
+ -e 's;^\( *.LIBS..*\)\(\"\],.*\)$;\1 -ldb\2;' \
|
|
|
+ perl/imap/Makefile.PL
|
|
|
+ ;;
|
|
|
+ esac
|
|
|
|
|
|
# ensure invocation of correct perl
|
|
|
%{l_shtool} subst \
|